Networking, Programming and Graphics Tutorials
Home >> OS >> Linux >> SSH >>

How to change the port of my SSH connection [2/2]

Then type ' Esc' key, then 'i" and remove the '#' sing and change the port number from 22 to different one in the range from 2000 to 65500.

To save the changes type 'Esc' followed with 'wq' and hit Enter.

The sshd daemon must be restarted in order the new changes to take effect with this command:

service sshd restart
Now you will be able to connect your machine on the port you have chosen.

Related links: VIM Editor commands

Rate this tutorial:                    
Networking, Programming and Graphics Tutorials - How to change the port of my SSH connection [2/2] - Networking, Programming and Graphics Tutorials

Need a specific tutorial? Do not hesitate and submit a request!
Related Tags: how to change connection port  how change connection port ssh  change connection port  windows xp change ssh connection port  change remote desktop connection port  remote desktop connection port change  windows xp remote desktop change connection port  how to change port remote desktop connection win2003  How can I change connection settings in ICQ  establish ftp connection to change website