ssh via putty using hostname in opensuse

Posted by Ashutosh on Stack Overflow See other posts from Stack Overflow or by Ashutosh
Published on 2011-02-22T07:05:38Z Indexed on 2011/02/22 7:25 UTC
Read the original article Hit count: 219

Filed under:

Hi All, I am using opensuse 11.3 and it is connected to DHCP network. I am using putty to connect top machine from window with command: putty -ssh user@ip-address (it works fine) but when trying to connect using hostname it fails to resolve: putty -ssh user@

Every time I want to connect to machine i need to check its ip first and then connect via putty, but when want to connect using hostname it fails and says not able to resolve. Is there a way around so that i can use a common hostname for Linux machine without worrying about its IP address which changes after every reboot? Thanks for reply.

Regards, Ashutosh

© Stack Overflow or respective owner

Related posts about linux