SSH Tectia

Using SFTP on Command Line

Command sftpg3 is used on 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 command is:

sftpg3 username@remotehost

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

sftpg3> get file

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

sftp> help

For more instructions on the command, see the sftpg3 man pages or the SSH Tectia Client User Manual.