Your Ad Here

Rabu, 01 Juni 2011

change ssh port to make it secure

we can remote another computer on same network using ssh, but if there is someone else who knows the password on the computer so he can also do remote acces to the computer. so we have to change some settings by replacing the existing ports so other people will not easy to access the destination computer

  1. open file sshd_config
    sudo nano /etc/ssh/sshd_config
  2. find text
    Port 22
    change with
    Port 2222 / another port number
  3. find text
    PermitRootLogin yes
    Chenge with:
    PermitRootLogin no
    this setting will not permit root as default login
    5. save by
    ctrl+x press y then enter
    6. restart ssh lo
    sudo /etc/init.d/ssh restart

0 komentar:

Posting Komentar

 

My Blog List

YM!

Followers

Computer Device Copyright © 2009 Blogger Template Designed by Bie Blogger Template