SSH Reference Manual
sftposs u.sauer@[fe80::250:56ff:fea7:4bdc] 
SFTPOSS client version T9999H06_22Jan2014_comForte_SFTPOSS_0097 
Connecting to fe80::a00:8eff:fe00:d14e via SSH2 process $SSH01 ... 
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> 
Configuring the SSH2 Process to Use 
As mentioned earlier, the SSH and SFTP clients will interact with a running instance of the SSH2 object file. There are 
multiple ways to specify which instance to use: 
•  The –S runtime option will explicitly choose a specific instance by its process name. The following example 
starts an SFTP client picking the SSH2 instance with the process name $SSH1 (please note that under OSS the 
process name is embedded into single quotes to allow the special character $ to be used as part of a shell 
command): 
>: sftposs -S '$ssh1' burgt@10.0.0.201 
Connecting to 10.0.0.201... 
sftp> 
•  By setting an environment variable named SSH2PREFIX in the client environment you can activate a heuristic 
to pick an SSH2 process depending on the CPU number it is running in. Please refer to "
Load-Balancing 
Outbound SSH Sessions" in the chapter "Configuring and Running SSH2" for details. 
•  By setting an environment variable SSH2_PROCESS_NAME in the OSS shell specifying the SSH2 process the 
client should use. 
•  By adding a define =SSH2^PROCESS^NAME, CLASS MAP and the SSH2 process name set as FILE value. 
Inquiring User Name If Not Supplied 
The SSH[OSS] and SFTP[OSS] clients accept argument user@host as well as just host. If no user is specified the current 
user, i.e. the user who started the client, is taken as default value. This default can be changed via environment variable 
INQUIREUSERNAMEIFNOTSUPPLIED, which must be defined in the environment (TACL/shell) the clients are 
started from. 
If PARAM/environment variable INQUIREUSERNAMEIFNOTSUPPLIED is set to true and the username was not 
specified, the SFTP[OSS] and SSH[OSS] clients now prompt the user for the username: 
> ssh 10.0.0.196 
comForte SSH client version T9999G06_22Jan2014_SSH_0097 
User name @10.0.0.196: test 
You have no private keys in the key store. 
Trying password authentication. 
Enter test@10.0.0.196's password: 
... 
If the user just hits return the default user name applies. If the PARAM/environment variable 
INQUIREUSERNAMEIFNOTSUPPLIED is not defined or is set to value FALSE the default user name is assumed as 
well (i.e. the behavior is then identical before introduction of INQUIREUSERNAMEIFNOTSUPPLIED). 
218 • SSH and SFTP Client Reference  HP NonStop SSH Reference Manual 










