This Article describes how to change SSH port on CentOS VPS or dedicated server. By default standerd SSH port is 22.
STEP1
Edit SSH configuration file.
#nano /etc/ssh/sshd_config
STEP2
Add the follwong code to /etc/ssh/sshd_config file
#SSH PORT
Port 3456
Save the file and restart the SSH service by running the following command
# service sshd restart
NOTE: Make sure open the port from firewall before restart the service.
- 0 Els usuaris han Trobat Això Útil
Articles Relacionats
How To Log Into your Linux VPS with PuTTY from Windows Computer/Laptop
After purchased a VPS (Virtual Private Server) you are probably seek to log in to your VPS. Let...
How to install VestaCP free control panel on y our VPS
The Vesta Control Panel is a free, open source website control panel with website, email,...
How to install Webuzo web based control panel in my VPS
Overview Softaculous Webuzo is a single user control Panel which you can use to install 100s of...
Install VNC server and Centos desktop gui - openvz vps through ssh
How to Install VNC server and Linux Desktop GUI on CentOS6 openvz vpsVNC protocall is used to...