How to change ssh port on debian8.1?

July 13, 2015 751 views

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

1 comment
1 Answer

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

by Etel Sverdlov
This tutorial covers how to login with root, how to change the root password, how to create a new user, how to give the new user root privileges, how to change the port, and how to disable root login in. This tutorial is written for Ubuntu. When you first create your server, this tutorial explains the first steps you need to take. This tutorial is written for Ubuntu 12.04.
Have another answer? Share your knowledge.