ssh via putty using hostname in opensuse
- by Ashutosh
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