LinuxQuestions.org
Visit Jeremy's Blog.
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 02-14-2010, 04:23 AM   #16
zahidhasan
LQ Newbie
 
Registered: Jan 2009
Posts: 7

Rep: Reputation: 0

Quote:
Originally Posted by judoka View Post
I have problems connecting through ssh. I followed the tutorials and set-up shh on my ubuntu 9.04; however, when i try to connect through ssh it either just stalls but the cursor is still blinking or gives me this error: ssh: Could not resolve hostname ... Name or service not known. Am i doing something wrong? I have the same problem with telnet. What could be the problem?
Easily you can do it just type "ssh (IP Address)"

Thanks
Zahid
 
Old 02-14-2010, 02:43 PM   #17
micxz
Senior Member
 
Registered: Oct 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
The OP had this issue about 7 months ago. Why are you suggesting things already suggested seven months later?
 
Old 03-22-2010, 12:03 AM   #18
rajni033
LQ Newbie
 
Registered: Jun 2009
Posts: 2

Rep: Reputation: 0
i had the same problem,i found my /etc/hosts file then what to do . after doing "ps -ef|grep sshd",i get the following result
root 1349 1 0 20:13 ? 00:00:00 /usr/sbin/sshd
root 8669 2381 0 20:55 pts/0 00:00:00 grep --colour=auto sshd

now plz suggest me what to do further .telnet <hostname> 22 ,i get hostname :no such file or directory
 
Old 03-22-2010, 01:05 AM   #19
micxz
Senior Member
 
Registered: Oct 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
Quote:
Originally Posted by rajni033 View Post
i had the same problem,i found my /etc/hosts file then what to do......

now plz suggest me what to do further .telnet <hostname> 22 ,i get hostname :no such file or directory
You should try ssh instead of telnet. The syntax was mentioned earlier in this thread please read above. Also this is an old thread about a similar but different issue. Maybe you should start a new one.
 
  


Reply

Tags
ssh, telnet, ubuntu


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
SSH access problems: Can only allow users SSH access by adding to root group dhupke Slackware 10 12-21-2008 10:48 AM
ssh-problems sysspy Linux - Newbie 2 12-20-2008 08:25 AM
Ssh Problems.. bambeklis Linux - Networking 4 10-06-2005 04:50 AM
ssh problems aizkorri Linux - Networking 6 06-07-2004 11:06 AM
ssh problems again saturn_vk Linux - Networking 5 03-19-2003 08:07 PM


All times are GMT -5. The time now is 11:15 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration