Home » Infrastructure » Unix » ssh to server
ssh to server [message #236517] Thu, 10 May 2007 02:44 Go to next message
sellafrica
Messages: 68
Registered: July 2005
Location: Braynston
Member
hi.

I am having a problem to ssh to one of the servers.i have another server which is in the same network that i can ssh to but on this one there is nothing that happens when i do:"ssh abc" and i can ping that server,is there any logs i can check.

Regards
Re: ssh to server [message #236534 is a reply to message #236517] Thu, 10 May 2007 03:21 Go to previous messageGo to next message
ThomasG
Messages: 3211
Registered: April 2005
Location: Heilbronn, Germany
Senior Member
Does an ssh server run on that box?

-> check with "telnet abc 22" and see if you get a server identification string like "SSH-1.99-OpenSSH_3.8.1p1" or something as respose.

If nothing happens there is either no ssh server running, or it is running on a different port, or there is a firewall in place that prevents the connection.
Re: ssh to server [message #236650 is a reply to message #236534] Thu, 10 May 2007 09:03 Go to previous message
sellafrica
Messages: 68
Registered: July 2005
Location: Braynston
Member
This is what i get when i ftp:

Trying abc...
Connected to abc.
Escape character is '^]'.
Connection closed by foreign host.

And when using:slogin -v -l root abc

OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090602f
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: ssh_connect: needpriv 0
debug1: Connecting to abc[abc] port 22.
debug1: Connection established.
debug1: identity file /root/.ssh/identity type -1
debug1: identity file /root/.ssh/id_rsa type 1
debug1: identity file /root/.ssh/id_dsa type 2
ssh_exchange_identification: Connection closed by remote host
debug1: Calling cleanup 0x80674b0(0x0)
Previous Topic: Regarding MAILX
Next Topic: external user and Oracle 10
Goto Forum:
  


Current Time: Tue Apr 23 13:19:38 CDT 2024