понедельник, 14 мая 2012 г.

Поменять порт SSH Ubuntu / How to change SSH port Ubuntu


1) sudo nano /etc/ssh/sshd_config
2) Find line Port 22
3) Change it to a new port number, or do like I did - added additiioinal ssh port



# Package generated configuration file
# See the sshd_config(5) manpage for details
# What ports, IPs and protocols we listen for
Port 22
Port 30022
# Use these options to restrict which interfaces/protocols sshd will bind to
#ListenAddress ::
#ListenAddress 0.0.0.0



4) Save and close the file Ctrl +X, Y (yes, save)


Комментариев нет:

Отправить комментарий