![]() IME this is a really easy way to do things. Moving files from one dolphin window or tab is done by drag-dropping the files as you would if they were all local. You'll get asked for the password (unless you've set up an SSH key which is a good idea) and when accepted you'll have a tab in dolphin that you can use like any other tab. Where username is your username on the remote computer, is the domain of the computer (or IP address, like 202.123.4.2) and after the colon is the port number (default is 22, but the remote server may be set with a different port number and should be). I realise this is old, but still relevant.Ī good solution is to use fish:// via dolphin (from KDE's Plasma), put the ssh server details like this in the file-location box (ie address bar) of dolphin file manager - you might have to change the default settings to reveal the location bar: fish:// :2200 So it is useful, but requires a bit of testing and/or man rsyncĪs always, commands are run in the local computer, not the remote one For example, you can mess up with trailing slashes (note that, in the last command, dir_name had no trailing slash, but /var/temp/ had). ![]() There are also many other options, including deleting files in the remote dir if they no longer exist in the local dir. To keep a directory in sync, sending only the needed files, you can use rsync -avzh /home/yourname/dir_name :/var/temp/ To copy a single file, you can use rsync -P -e ssh /tmp/file :/home/name/dir redo a transfer, but only send the files that changed.Rsync is a utility to copy files that can: You can find versions of scp for windows. Sshfs :/some/remote/dir /home/youruser/remotecomp "link" the two directories (the right term is mount).Note however, that when the connection ends, /home/youruser/remotecomp becomes an empty dir again, and you only keep in the local computer the files you copied to other directories You can copy and mv as usual, and you can even alter remote files and dirs. If there is a file /some/remote/dir/file in the remote computer, you can see it on /home/youruser/remotecomp/file. Say you "link" the /some/remote/dir from the remote computer to /home/youruser/remotecomp in your computer. You can "link" a directory from the remote computer to an (empty) directory of the local computer. This is a little more advanced but much, much nicer (when the internet connection of both computers is good. To copy from the remote computer to the local one, type, in the local computer: (where /tmp/file can be replaced with any local file and /home/name/dir with any remote directory) To copy from your local computer to the remote, type, in the local computer: However, the fact that the remote computer accepts ssh connections gives you some options to exchange files: The shell (command line) you get after you ssh is (pretty much) the same as if you had opened a xterm in the remote machine. First things first: ssh is a way to remotely login to another computer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |