"SSH authentication or connection failure" in Linux/UNIX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-27-2013 02:21 AM
Hi,
I have a Red Hat Linux Server in my environment. I have created a user with sudo privileges. When i am running discovery on it, it gives error "SSH authentication or connection failure". While I am able to login to this server via putty & able to run uname -a command successfully.
I have also enabled "debug_ssh = true" & "debug = true" in UNIX-Classify probe. Please find attached ssh.log file & screenshot of access given to user.
looking for a possitive reply.
Regards,
Nikhil Agarwal
- Labels:
-
Discovery
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-27-2013 11:25 AM
Is this a local account or are you maybe using a pass through authentication piece like centrify?
Also,
Can you attach the relevant portion of the agent0.log? And may as well open a ticket with support this may need direct eyes on it to get it resolved..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-09-2013 04:42 AM
Hi Doug,
Issue has been resolved. Actually I have enabled "mid.ssh.use_keyboard_interactive" due to this, it gave ssh authentication failure error. after disabling it, I am able to discover.
Regards,
Nikhil Agarwal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2013 02:02 AM
Hi Doug,
I am running discovery on a AIX box. It gives error" SSH authentication or connection failure". When i debug the error, I found below error from agent.log file:
08/23/13 11:41:02 (181) Probe: SSHCommand:uname -a:192.194.143.240 Grabbed null
08/23/13 11:41:02 (181) Probe: SSHCommand:uname -a:192.194.143.240 A connection error has occured. Reconnecting.
08/23/13 11:41:04 (193) Probe: SSHCommand:uname -a:192.194.143.240 Waiting for connection semaphore
08/23/13 11:41:04 (193) Probe: SSHCommand:uname -a:192.194.143.240 Obtained connection semaphore
08/23/13 11:41:04 (287) Probe: SSHCommand:uname -a:192.194.143.240 SEVERE *** ERROR *** Exception from SSH: java.io.IOException; The socket is EOF
java.io.IOException: The socket is EOF
at com.sshtools.j2ssh.transport.TransportProtocolInputStream.readBufferedData(TransportProtocolInputStream.java:187)
at com.sshtools.j2ssh.transport.TransportProtocolInputStream.readMessage(TransportProtocolInputStream.java:234)
at com.sshtools.j2ssh.transport.TransportProtocolCommon.readMessage(TransportProtocolCommon.java:1340)
at com.sshtools.j2ssh.transport.kex.DhGroup1Sha1.performClientExchange(DhGroup1Sha1.java:188)
at com.sshtools.j2ssh.transport.TransportProtocolClient.performKeyExchange(TransportProtocolClient.java:353)
at com.sshtools.j2ssh.transport.TransportProtocolCommon.beginKeyExchange(TransportProtocolCommon.java:711)
at com.sshtools.j2ssh.transport.TransportProtocolCommon.onMsgKexInit(TransportProtocolCommon.java:1295)
at com.sshtools.j2ssh.transport.TransportProtocolCommon.startBinaryPacketProtocol(TransportProtocolCommon.java:1032)
at com.sshtools.j2ssh.transport.TransportProtocolCommon.run(TransportProtocolCommon.java:388)
at java.lang.Thread.run(Unknown Source)
08/23/13 11:41:04 (287) Probe: SSHCommand:uname -a:192.194.143.240 Grabbed null
08/23/13 11:41:04 (287) Probe: SSHCommand:uname -a:192.194.143.240 Worker completed: SSHCommand source: 192.194.143.240 time: 0:00:02.200
08/23/13 11:41:04 (287) Probe: MultiProbe:UNIX - Classify:192.194.143.240 Subprobe finished
Please check & provide a solution.
Regards,
Nikhil Agarwal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-28-2013 01:28 AM
Has any one face this error?