mylinuxnotes
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment