HP NonStop SSH 544701-014 Reference Manual page 193

Table of Contents

Advertisement

> 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.
-q
Quiet; don't display any warning messages.
-H string
Set prefix used for error messages. Default: no prefix.
-J string
Set prefix used for info/warning messages. Default: no prefix.
-K string
Set prefix used for prompt/query messages. Default: no prefix.
cipher
Select encryption algorithm
-m macs
Specify MAC algorithms for protocol version 2.
-p port
Connect to this port.
-L listen-port:host:port
-R listen-port:host:port
These cause sshoss to listen for connections on a port, and
forward them to the other side by connecting to host:port.
forward them to the other side by connecting to host:port.
-C
Enable compression.
-N
Do not execute a shell or command.
-g
Allow remote hosts to connect to forwarded ports.
-o 'option' Process the option as if it was read from a configuration file.
-s
Invoke command (mandatory) as SSH2 subsystem.
-S process
connect using this SSH2 process.
> sftposs
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]]
>
Typical start of an SSH session from OSS to a remote system:
/tmp: sshoss u.sauer@linuxdevipv6
SSH client version T9999H06_17Apr2012_comForte_SSHOSS_0092
GSSAPI authentication disabled.
You have no private keys in the key store.
Trying password authentication.
Enter u.sauer@linuxdevipv6's password:
Add password for u.sauer@linuxdevipv6 to the password store (yes/no)? no
Linux linux-dev 2.6.32-40-server #87-Ubuntu SMP Tue Mar 6 02:10:02 UTC 2012 x86_64
GNU/Linux
Ubuntu 10.04.4 LTS
Welcome to the Ubuntu Server!
Last login: Sat Apr 21 11:28:48 2012 from 10.0.0.194
~u.sauer@linux-dev:~$
Example for initiating an SSH session from OSS to a remote NonStop server using an IPv6 address:
/home/test: sshoss -S '$SSH55' -oPort=54022 comf.us@fe80::a00:8eff:fe00:d14e
SSH client version T9999H06_17Apr2012_comForte_SSHOSS_0092
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
STN00 Connected to STN version B17
STN46 Secure SSH session: xterm password aes256-cbc hmac-sha1
STN81 Client IP address: fe80::a00:8eff:fe00:d14e port 4196
STN82 SSH external user comf.us, Guardian system user COMF.US
HP NonStop SSH Reference Manual
Server must be on the same port.
Forward local port to remote address
Forward remote port to local address
2012/04/23 12:36 \NPNS01.$PTY54.#ZWN0015
-c
SSH and SFTP Client Reference • 193

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents