Thursday, June 4, 2009

how to change ssh port

1) vi /etc/ssh/ssh_config

change the entry port 22 to port 1900 (or any other non privileged port no:)

:wq


2) restart the ssh service
sudo /etc/init.d/ssh restart


3) ssh -p 1900 localhost


NB:- warning untested

No comments:

Post a Comment