Download Print this page

Advertisement

Appendix A
Command Reference

ssh

To access the SSH client that resides on the appliance, use the ssh command.
Syntax Description
noneThe default behavior of this command displays the command's usage guidelines.
-hDisplays the detailed command's usage guidelines.
-l userLog in using this username.
-nRedirect input from /dev/null.
-F configConfig file (default: ~/.ssh/config).
-AEnable authentication agent forwarding.
-aDisable authentication agent forwarding (default).
-XEnable X11 connection forwarding.
-xDisable X11 connection forwarding (default).
-i fileIdentity for public key authentication (default: ~/.ssh/identity).
-tTty; allocate a tty even if command is given.
-TDo not allocate a tty.
-vVerbose; display verbose debugging messages. Multiple -v increases verbosity.
-VDisplay version number only.
-qQuiet; do not display any warning messages.
-fFork into background after authentication.
-e chaSet escape character; "none"' = disable (default: ~).
-c cipherSelect encryption algorithm.
-m macsSpecify MAC algorithms for protocol version 2.
-p portConnect to this port. Server must be on the same port.
-L listen-port:host:port
Forward local port to remote address
-R listen-port:host:port
Forward remote port to local address.
These cause ssh to listen for connections on a port, and forward them to the other side by connecting to
host:port.
-D portEnable dynamic application-level port forwarding.
-CEnable compression.
-NDo not execute a shell or command.
-gAllow remote hosts to connect to forwarded ports.
-1Force protocol version 1.
-2Force protocol version 2.
OL-14672-01
ssh [options] host [command]
Install and Setup Guide for Cisco Security MARS
ssh
A-67

Advertisement

loading