下表汇总了主要的 Solaris 安全 Shell 命令。
表 19–7 Solaris 安全 Shell 中的命令
下表列出了覆盖 Solaris 安全 Shell 关键字的命令选项。这些关键字在 ssh_config 和 sshd_config 文件中指定。
表 19–8 Solaris 安全 Shell 关键字的命令行等效关键字|
关键字 |
ssh 命令行覆盖 |
scp 命令行覆盖 |
|---|---|---|
|
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(启用) ssh -a(禁用) |
|
|
ForwardX11 |
ssh -X(启用) ssh -x(禁用) |
|
|
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(仅用于 v1) ssh -2(仅用于 v2) |
|
|
RemoteForward |
ssh -R remoteport:localhost:localport |
|