Question

How to change ssh port on debian8.1?

  • Posted July 13, 2015
  • VPN

In my debian8.1, i have set Port 23444 in /etc/ssh/ssh_config and restart sshd. Why can still login with : ssh root@vps_ip ? The Port doesn’t matter?

Subscribe
Share

You were close

Edit the following file: /etc/ssh/sshd_config


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

You can check this old tutorial to find out more, it still works. Link