> Environment > SFTP Insert sudo su -c /usr/lib/sftp-server in 'SFTP Server' (note this path might be different in your system) Save and connect Source AWS Ubuntu 18. Go to your WinSCP profile (Session > Sites > Site Manager) Click on Edit > Advanced. So if you want to copy the file My_file. 126 I know this is old, but it is actually very possible. scp My_file.txt is, to copy the file to your desktop you might want to transfer it to /home/erez/Desktop/: scp My_file.txt using the shortcut: scp My_file.txt using a relative path on the remote side, which is interpreted relative to your home directory: scp My_file.txt already mentioned, you also have to swap the arguments, it has to be scp FROM TO If path to your home is something like /home/erez try the following: scp My_file.txt can substitute the path to your home directory with the shortcut ~/, so the following will have the same effect: scp My_file.txt can even leave out the path altogether on the remote side this means your home directory. What you want to do is to transfer them to your home directory (since you have no permissions to write to /). Your commands are trying to put the new Document to the root ( /) of your machine.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |