Go Back   TechArena Community > Technology > Networking & Security
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Unable to resolve hostname via ssh

Networking & Security


Reply
 
Thread Tools Search this Thread
  #1  
Old 10-09-2011
Member
 
Join Date: Jul 2011
Posts: 56
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?

Code:
"Ssh: Could not resolve hostname da@da-laptop: Name or service not known"

Reply With Quote
  #2  
Old 10-09-2011
Member
 
Join Date: May 2008
Posts: 945
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
Reply With Quote
  #3  
Old 10-09-2011
Member
 
Join Date: Apr 2010
Posts: 124
Re: Unable to resolve hostname via ssh

I always make convinced my machine has a reserved or static IP.
Code:
ssh user@ip_address
Reply With Quote
Reply

  TechArena Community > Technology > Networking & Security
Tags: , , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


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


All times are GMT +5.5. The time now is 07:30 PM.