Wednesday, July 21, 2010

Connecting to Linux server with port

Genearally we do "ssh root@ip"
and then password ..
Here the serve is listening 22 port ..So no need to mention.
But if you are trying to connect a sever which is listening at different port
let us say 2022 then we need to try "ssh -p 2022 root@ip"
then it will ask password..
We can find more details on man page of ssh.


Thanks
Murthy Kavali

No comments: