/etc/ssh/sshd_confChallengeResponseAuthentication no
PasswordAuthentication no
UsePAM no
sudo service ssh restart
ChallengeResponseAuthentication yes
PasswordAuthentication yes
UsePAM yes
/etc/ssh/ssh_configForwardAgent yes
ForwardX11 yes
ForwardX11Trusted yes
/etc/ssh/sshd_configX11Forwarding yes
X11DisplayOffset 10
sudo service ssh restart
/etc/sudoersyouruser ALL=(ALL) NOPASSWD:ALL