Digital Marketing

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


Popular posts from this blog

Fixed WSL sshd: no hostkeys available -- exiting

PowerMTA pmta command

How to fix: mv: failed to preserve ownership