Run SSH server on more than one ports
Edit sshd configuration file with your favourite text editor.
$ sudo vi /etc/ssh/sshd_config
Search for Port option and set the value to the ports that you desire.
Port 22
Port 2222
Restart sshd
$sudo systemctl restart sshd
Comments
Post a Comment