5,322
edits
Line 128: | Line 128: | ||
===Disable password authentication=== | ===Disable password authentication=== | ||
# Edit <code>/etc/ssh/sshd_config</code> | |||
# Set <code>PasswordAuthentication</code> to <code>no</code> | |||
# Set <code>ChallengeResponseAuthentication</code> to <code>no</code> | |||
# Test by ssh'ing into the machine using <code>-o PreferredAuthentications=password -o PubkeyAuthentication=no</code> | |||
===Port Forwarding=== | ===Port Forwarding=== |