SSH Reference Manual
A typical command to establish an SFTP session with a remote SSH daemon will look as follows: 
$DATA1 MHSSH 20> run sftp m.horst@10.0.0.201 
SSH client version T9999H06_22Jan2014_comForte_SSH_0097 
Connecting to 10.0.0.201... 
You have no private keys in the key store. 
Trying password authentication. 
Enter m.horst@10.0.0.201's password: 
Add password for m.horst@10.0.0.201 to the password store (yes/no)? no 
sftp> 
Example using IPv6 address: 
> run sftp comf.us@~[fe80::a00:8eff:fe00:d14e~] 
SFTP client version T9999H06_22Jan2014_comForte_SFTP_0097 
Connecting to fe80::a00:8eff:fe00:d14e via SSH2 process $SSH00 ... 
GSSAPI authentication disabled. 
You have no private keys in the key store. 
Trying password authentication. 
Enter comf.us@fe80::a00:8eff:fe00:d14e's password: 
Add password for comf.us@[fe80::a00:8eff:fe00:d14e]:54022 to the password store 
(yes/no)? no 
sftp> 
The tilde characters are required if #INFORMAT is set to TACL; otherwise the square brackets must be used without 
tilde. 
Starting the OSS Client Programs 
The OSS object files of the SSH and SFTP client programs are delivered together with the other SSH implementation 
files. Therefore, the object files will initially be placed on the SSH2 installation subvolume. The clients for OSS have the 
following filenames: 
•  SSHOSS 
•  SFTPOSS 
To start a client under OSS, there are a few choices: 
•  Start the program by specifying the full path on the shell, i.e.  
>/G/system/comfssh/sshoss 
>/G/system/comfssh/sftposs 
•  Create a symbolic link to the OSS program file in a directory which is included in the default search path under 
OSS, e.g.  
>ln –s /G/system/comfssh/sshoss /usr/bin/ssh 
>ln –s /G/system/comfssh/sftposs /usr/bin/sftp 
•  Copy the program file to a directory which is included in the default search path under OSS 
•  Copy the program file to a location of your choice and add that location to the default search path 
In the subsequent sections of this chapter, we will assume the client program files are part of your current search path 
under the OSS shell. 
If you start the program without any parameters, it will display a brief syntax summary and terminate: 
> sshoss 
Usage: sshoss [options] host [command] 
Options: 
 -l user Log in using this user name. 
 -t Tty; allocate a tty even if command is given. 
 -T Do not allocate a tty. 
 -V Display version number only. 
 -Z Suppress ssh client banner. 
216 • SSH and SFTP Client Reference  HP NonStop SSH Reference Manual 










