ssh Options

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