192
•
SSH and SFTP Client Reference
HP NonStop SSH Reference Manual
-rwxr-xr-x 1 SUPER.SUPER SUPER 2284 Sep 30 2011 test1
$DATA1 TEST 24>
A typical command to establish an SFTP session with a remote SSH daemon will look as follows:
$DATA1 MHSSH 20> run sftp [email protected]
comForte SFTP client version T9999G06_27Jan2006_comForte_SFTP_A01_0060
Connecting to 10.0.0.201...
You have no private keys in the key store.
Trying password authentication.
Enter [email protected]'s password:
Add password for [email protected] 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_17Apr2012_comForte_SFTP_0092
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:
Summary of Contents for NonStop SSH 544701-014
Page 12: ...xii Contents HP NonStop SSH Reference Manual ...
Page 24: ...24 Preface HP NonStop SSH Reference Manual ...
Page 30: ...30 Introduction HP NonStop SSH Reference Manual ...
Page 46: ...46 Installation Quick Start HP NonStop SSH Reference Manual ...
Page 132: ...132 The SSH User Database HP NonStop SSH Reference Manual ...
Page 214: ...214 SSH and SFTP Client Reference HP NonStop SSH Reference Manual ...
Page 278: ...278 STN Reference HP NonStop SSH Reference Manual ...
Page 298: ...298 Monitoring and Auditing HP NonStop SSH Reference Manual ...
Page 302: ...302 Performance Considerations HP NonStop SSH Reference Manual ...