SSH

Using sftpg3

sftpg3 is an FTP-like client that can be used for secure file transfers over the network. sftpg3 uses ssh-broker-g3 to provide a secure transport using the Secure Shell version 2 protocol.

Even though it functions like ftp, sftpg3 does not use any FTP daemon or FTP client for its connections. sftpg3 can be used to connect to any host that is running a Secure Shell version 2 server with the sftp-server (or sft-server-g3) subsystem enabled.

The basic syntax of sftpg3 is:

sftpg3 user@host

sftpg3 has two connection end points, local and remote, and both of them can be connected to other hosts than the Tectia client tools for z/OS host. By default, the local end point is connected to the file system of the Tectia client tools for z/OS host and the remote end point is connected to the host defined on the command line (or left unconnected if no host is defined on the command line).

When started interactively, sftpg3 displays a prompt where the SFTP commands can be entered, much like in the traditional ftp program. It is also possible to start sftpg3 non-interactively with a batch file that contains the commands to be run.

For more information on the command-line options and commands, see sftpg3(1).