LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 12-07-2009, 04:16 PM   #1
Makri
LQ Newbie
 
Registered: Nov 2009
Posts: 7

Rep: Reputation: 0
Unable to connect SSh with hostname...


Hi,
When I try to connect different host by using ssh , its not working and throwing me an error "name or service not known"

ssh usw3tvx@lalqau40
ssh: lalqau40: Name or service not known


However I tried ssh with ip address, it works...

What do I need to change here..

Thank you ...
 
Old 12-07-2009, 04:17 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
your dns isn't working then. nothing to do with ssh at all. what are you doing in order to resolve this? local bind installation? entry in /etc/hosts? Magic?
 
Old 12-07-2009, 06:20 PM   #3
Makri
LQ Newbie
 
Registered: Nov 2009
Posts: 7

Original Poster
Rep: Reputation: 0
yea I have added in /etc/hosts.. I am able to ping with host name... Even I check the resolve.conf... seems fine... Do I need to change some other file?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sun VirtualBox: Guest is Unable to Connect to Host By Hostname Cottonwoody Linux - Virtualization and Cloud 5 11-13-2009 12:31 PM
Unable to connect to machine via hostname, DNSs seem ok sarajevo Linux - Networking 2 05-25-2008 02:46 AM
Unable to connect via ssh BlackBone Linux - Newbie 11 08-25-2007 10:03 AM
SSH will not connect to hostname, only IP address. nominruil Linux - Networking 2 06-03-2007 02:26 PM
Unable to connect to server using hostname with telnet and browser Schlumpf42 Linux - Networking 6 10-14-2004 12:03 PM


All times are GMT -5. The time now is 04:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration