SSH

Using SFTP on Command Line

Command sftpg3 is used on the command line to connect to any host that is running a Secure Shell version 2 server with the SFTP server subsystem enabled.

The basic syntax of sftpg3 is:

sftpg3 username@remotehost

This logs you in to the remote host. For example, after a successful login you can fetch a file from the remote host to your local host with a command like this:

sftp> get filename

To view the commands available with sftpg3, type help at the SFTP prompt:

sftp> help

For more information on sftpg3, see the sftpg3(1) man page or the Tectia Client User Manual.