The following table summarizes the major Solaris Secure Shell commands.
Table 20–7 Commands in Solaris Secure Shell
The following table lists the command options that override Solaris Secure Shell keywords. The keywords are specified in the ssh_config and sshd_config files.
Table 20–8 Command-Line Equivalents for Solaris Secure Shell Keywords
Keyword |
ssh Command-Line Override |
scp Command-Line Override |
---|---|---|
BatchMode |
|
scp -B |
BindAddress |
ssh -b bind-addr |
scp -a bind-addr |
Cipher |
ssh -c cipher |
scp -c cipher |
Ciphers |
ssh -c cipher-spec |
scp -c cipher-spec |
Compression |
ssh -C |
scp -C |
DynamicForward |
ssh -D SOCKS4-port |
|
EscapeChar |
ssh -e escape-char |
|
ForwardAgent |
ssh -A to enable ssh -a to disable |
|
ForwardX11 |
ssh -X to enable ssh -x to disable |
|
GatewayPorts |
ssh -g |
|
IPv4 |
ssh -4 |
scp -4 |
IPv6 |
ssh -6 |
scp -6 |
LocalForward |
ssh -L localport:remotehost:remoteport |
|
MACS |
ssh -m mac-spec |
|
Port |
ssh -p port |
scp -P port |
Protocol |
ssh -1 for v1 only ssh -2 for v2 only |
|
RemoteForward |
ssh -R remoteport:localhost:localport |
|