secure file transfer through ssh

August 28th, 2006 mysurface Posted in Admin, sftp | Hits: 36381 | 4 Comments »

If you want to transfer one or few files which you have know the location, scp would be enough. SCP example will be HERE

But if do not know the location of the file, and you want to login to browse the directories? consider sftp. Login to sftp is like login to ssh,

sftp foobar@192.167.8.9

Press ? to find all the command that support. The important command is ls, lls, cd, lcd, let and get.

The command that have L (as in lower case) infront, is for local host, which is the host you are from. So lls is to list the files in your host current directory, where ls is to list the remote current directory you login to.
let is sending file from your local host to your remote host current directory, where
get is copy file from remote site to your host.

let myfile.tar.gz
get temp.tar.bz2

As simple as that, but bare in mind, sftp is not like ssh, it doesn’t support auto complete, don’t tab to get auto complete. No history, pressing up arrow, do not show you the previous command. No color to indicate the file types, therefore to know which one is directory, use “ls -l”.

To quit, simple type quit or exit.

4 Responses to “secure file transfer through ssh”

  1. [...] I feel smbclient not efficient compare to sftp, sftp have great command such as lpwd, lls and lcd which is really efficient, where smbclient only have lcd. But for sftp, you need to have ssh access, it doesn’t work for accessing windows machine. [...]

  2. [...] 192.168.1.1 514 <<< “<14>User Info msg from remote through TCP.” Related Postssecure file transfer through ssh If you want to transfer one or few files which you have know the location, scp would be enough. SCP [...]

  3. [...] secure file transfer through ssh If you want to transfer one or few files which you have know the location, scp would be enough. SCP example will be HERE… [...]

  4. You’re really an excellent web marketer. The internet site running rate will be outstanding. The idea kind of believes you are carrying out any kind of distinctive technique. Also, The actual material will be work of genius. you must have done a superb occupation on this issue!

Leave a Reply