LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ssh problems (https://www.linuxquestions.org/questions/linux-newbie-8/ssh-problems-741571/)

zahidhasan 02-14-2010 03:23 AM

Quote:

Originally Posted by judoka (Post 3614685)
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

micxz 02-14-2010 01:43 PM

The OP had this issue about 7 months ago. Why are you suggesting things already suggested seven months later?

rajni033 03-21-2010 11:03 PM

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

micxz 03-22-2010 12:05 AM

Quote:

Originally Posted by rajni033 (Post 3907116)
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.


All times are GMT -5. The time now is 06:40 PM.