SSH Reference Manual
-rwxrwxrwx 1 COMF.TB COMF 126 Mar 28 06:36 rc0078 
-rwxrwxrwx 1 COMF.TB  COMF 113 Mar 28 06:32 rc_bad 
-rw-rw-rw- 1 COMF.TB COMF 101 Nov 13 2007 resize.test 
-rwxrwxrwx 1 COMF.TB COMF 86 Mar 28 06:30 returncode_failure 
-rwxrwxrwx 1 COMF.TB COMF 80 Mar 28 06:31 returncode_success 
drwxr-xr-x 1 COMF.TB COMF 4096 May 03 2006 sshtest-client 
drwxrwxrwx 1 COMF.TB COMF 4096 Feb 18 2005 sshtest-daemon 
-r--r--r-- 1 COMF.TB COMF 1000 Oct 08 2007 t1000 
-r--r--r-- 1 COMF.TB COMF 100000 Oct 08 2007 t100000 
-rw-rw-rw- 1 COMF.TB COMF 1000000 Oct 13 2007 t1000000 
drwxrwxrwx 1 COMF.TB COMF 4096 Oct 13 2007 testdata 
-r-------- 1 COMF.TB COMF 171 Mar 28 06:13 testfile1 
-rw-rw-rw- 1 COMF.TB COMF 13 Jan 18 12:33 testtail 
-rw-rw-rw- 1 COMF.TB COMF 100000 Oct 08 2007 tscroll 
drwxrwxrwx 1 COMF.TB COMF 4096 Dec 21 2005 tuxedo 
-rw-rw-rw- 1 COMF.TB  COMF 533775 Feb 25 2005 zlib.tar.Z 
226 Transfer Complete. 
2674 bytes received in 0.45 seconds ( 5.80 Kbytes/s) 
ftp> bye 
221 Goodbye. 
$TB TBSSH79 3> 
The following log messages will show up in the SSH2 log file indicating that the session was indeed forwarded over the 
SSH session: 
$TBS79|08Jul08 08:07:29.37|50|\NPNS01.$Z0DC: forwarding FTP connection from 
127.0.0.1:1139 to 127.0.0.1:21 
$TBS79|08Jul08 08:07:38.85|50|\NPNS01.$Z0DC: forwarding direct-tcpip connection from 
127.0.0.1:1140 (accepted on 127.0.0.1:4518) to remote 
$TBS79|08Jul08 08:07:44.32|50|\NPNS01.$Z0DC: closed forwarded FTP connection from 
127.0.0.1:1139 to 127.0.0.1:21 
SFTP Client Command Reference 
The SFTP[OSS] Client is used to start interactive or batch file transfers from and to a remote system which are initiated 
from the NonStop system. 
Command-Line Reference 
The SFTP client allows you to specify some parameters on the command line. Starting the client without any parameters 
provides a syntax summary: 
> sftposs  
SFTPOSS client version T9999H06_22Jan2014_comForte_SFTPOSS_0097 
missing parameter error (1,1): 
usage: SFTPOSS [-vCZ] [-b batchfile] [-o ssh2_option] 
 [-H error_prefix] [-J info_prefix] [-K query_prefix] 
 [-B buffer_size] [-R num_requests] [-S ssh2 process] 
 [user@]host[:file [file]]> 
 Note: The syntax for specifying local file names (files to be read or written on the NonStop system) supports both "Unix 
style" and "Guardian style". Please see the section "file name syntax" for details. 
Runtime options 
The following runtime options are supported: 
-b <batchfile> 
Starts the SFTP client in batch mode. The commands contained in the file are executed one by one until completion or a 
failure in execution. The client then terminates.  
HP NonStop SSH Reference Manual  SSH and SFTP Client Reference • 227 










