Unable to resolve hostname via ssh
On my local network I am having static internet connection (Dhcp). I want to do Ssh. When I am trying to connect other computer using Ssh it?s not working. I m unable to figure out the problem. Can anybody help me?
"Ssh: Could not resolve hostname da@da-laptop: Name or service not known"
Re: Unable to resolve hostname via ssh
There is a dissimilarity between DHCP and DNS. If your local network router has a DNS built in you would require telling Ssh to make use of the DNS. That would be configured in /etc/ssh/ssh_config. a little similar to "UseDNS ". keep in mind you have to reprocess the ssh daemon if you modify ssh_config.
At this time if there is no a DNS on your local network then you would have to situate up alias in your /etc/hostsfile so your client know about what ip address was assign to other pc
|Tags: dhcp, dns, hostfile, hostname, network, ssh|
|Thread Tools||Search this Thread|
|Similar Threads for: "Unable to resolve hostname via ssh"|
|Thread||Thread Starter||Forum||Replies||Last Post|
|VPN Error 5 : No hostname exists for this connection entry. Unable to make VPN connection||Xmen||Networking & Security||9||14-05-2012 06:05 PM|
|How DNS used to resolve hostname in the CISCO router?||Calverta||Networking & Security||3||20-12-2011 03:02 PM|
|Unable to Ping Exchange Hostname in VPN||got2balls||Networking & Security||3||09-03-2011 08:09 PM|
|Can resolve by hostname, but not with FQDN (internal and external)||Foes||Windows Server Help||4||18-03-2009 05:39 AM|
|DNS unable to resolve IP address, help||Donald||Networking & Security||4||30-09-2008 05:52 PM|