Change default connection port for SSH Open the file /etc/ssh/sshd_config and modify the line: Port xxx Finally restart the ssh service sudo service ssh restart
Allow SSH password authentication Open the file /etc/ssh/sshd_config and modify the line: PasswordAuthentication yes Finally restart the ssh service sudo service ssh restart