Isaac Sloan - Web Developer, Photographer, Musician and Citizen of Earth
Banner700

Useful SSH Server Conf Tricks

April 24, 2016

Turning password login off

Edit /etc/ssh/sshd_conf
ChallengeResponseAuthentication no
PasswordAuthentication no
UsePAM no
Restart ssh

sudo service ssh restart

Turn on password login

ChallengeResponseAuthentication yes
PasswordAuthentication yes
UsePAM yes
Restart ssh

Copy and pasting from remote vim

1. Edit /etc/ssh/ssh_config
Useful SSH Server Conf Tricks