SSH Reference Manual
SSH2 Running as SSH Client 
The following figure shows how the components of SSH2 work together to implement an SSH client running on the 
NonStop platform: 
Figure 2: SSH2 running as SSH client 
SSH2 can interface with a range of client components, including SSH, SFTP or the equivalent OSS programs, such as 
SSHOSS or SFTPOSS. With SSH2, a client component opens the SSH2 component and forwards the user commands 
and the startup configuration. 
Applications can establish outgoing SSH or SFTP sessions using SFTPAPI or SSHAPI, see section "
Controlling SSH 
and SFTP Clients on NonStop™ via an API". 
The SSH2 component connects to the remote system via TCP/IP and does the setup of the SSH session. The client 
component and the SSH2 component keep exchanging messages via $RECEIVE until the client is terminated by the 
user. 
Additionally, a client can establish port forwarding to forward TCP/IP or FTP connections from local socket programs to 
the remote SSH server or vice versa. 
The SSHCOM component is used to maintain the key store containing the local system user's key pairs, remote 
passwords and remote SSH host's public keys. 
HP NonStop SSH Reference Manual  Introduction • 29 










