SSH1
| SSH2
| OpenSSH
| Option
| Meaning
|
| -2
| Use SSH-2 protocol only
|
| -4
| Use IPv4 addresses only
|
| -6
| Use IPv6 addresses only
|
| -8
| No effect; simply passed along to rsh on fallback; signifies 8-bit clean connection
|
|
|
| -a
| Disable agent forwarding
|
| +a
| Enable agent forwarding
|
| -A
| Enable agent forwarding
|
|
|
| -c cipher
| Select encryption cipher
|
|
| -C
| Enable compression
|
| -C
| Disable compression
|
| +C
| Enable compression
|
| -d level
| Enable debug messages
|
| -d "module=level"
| Enable debug messages per module
|
|
|
| -e character
| Set escape character (^ = Ctrl key)
|
|
|
| -f
| Fork into background
|
| -F filename
| Use other configuration file
|
|
|
| -g
| Gateway locally forwarded ports
|
| -h
| Print help message
|
|
|
| -i filename
| Select identity file
|
|
| -k
| Disable Kerberos ticket forwarding
|
|
|
| -l username
| Remote username
|
|
|
| -L port1:host2: port2
| Local port forwarding
|
N
| -m algorithm
| Select MAC algorithm
|
|
|
| -n
| Redirect stdin from /dev/null
|
2
| -N
| Execute no remote command
|
|
|
| -o "keyword value"
| Set configuration keyword
|
|
|
| -p port
| Select TCP port number
|
|
|
| -P
| Use nonprivileged port
|
|
|
| -q
| Quiet mode
|
|
|
| -R port1:host2: port2
| Remote port forwarding
|
| -s subsystem
| Invoke remote subsystem
|
| -S
| No session channel
|
|
|
| -t
| Allocate tty
|
2
| -T
| Don't allocate tty
|
|
|
| -v
| Verbose mode
|
|
|
| -V
| Print version number
|
|
|
| -x
| Disable X forwarding
|
| +x
| Enable X forwarding
|
| -X
| Enable X forwarding |