R
R
rumkin2012-04-01 17:17:01
linux
rumkin, 2012-04-01 17:17:01

SSH /Connection reset by peer [Solved]?

And so the problem is: there is a computer on the network that pings, but responds to ssh every other time, periodically issuing, then connection refused, then (after entering the password)

Permission denied<br/>
Read from socket failed: Connection reset by peer

after which he answers all the same connection refusedto any requests. Restarting the network service corrects the situation. But after an I / O attempt, it throws out with the message Write failed: broken pipe. And again connection refused.
I go under the root, so write failed is very alarming.
CentOS 6.2 minimal system, Dell PowerEdge R310 server.
Thanks in advance for any insight.
UPD. The Solution
The solution turned out to be the most logical as always : I went into the DELL's settings system that appears at boot, right after the BIOS and reset all settings for ip. Everything worked fine. Apparently, the DELL controller is trying to participate in the process, as a result of which the session crashes.
Thanks to all!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
G
getencapsulated, 2012-04-01
@getencapsulated

You need to look under who sshd is running. And check the rights to your root directory. It is better not to work as root in * nix, to configure something at most.

V
Vlad Zhivotnev, 2012-04-01
@inkvizitor68sl

Write failed - most likely, someone on the network blinked from the same ip.

R
rtzra, 2012-04-01
@rtzra

Everything is fine with the network, that ifconfig | grep errors says?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question