CrownCloud Wiki

CrownCloud - Internet Services

User Tools

Site Tools


changing_ssh_port

How to change your SSH port

Please follow the steps listed below as-is

nano /etc/ssh/sshd_config

Find, the line line which states 'Port 22'. Make sure that you pick a port which is currently not used on the system.

Change it to reflect the following and replace <SSH port Here> with your desired SSH port.

Port <SSH port Here>

Save the file and then,

service sshd restart

Next time you wish to SSH into your VPS/Server you'll have to select the port you set it to, for example, ssh username@hostname.com -p <SSH port Here>

changing_ssh_port.txt · Last modified: 2014/02/28 16:29 by speedbus