sshd fatal read from socket failed connection timed out
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
This basically says that sshd polled a file descriptor which was a socket that had an established connection to somewhere and it had an error with the read poll on that file descriptor.
Best guess, you have someone who has an ssh connection to the server and either their network or their system is configued with a timeout that drops the connection after a condition is met, like an amount of time with no activity or something of that nature.
Unless you are having an actual problem or have you users that are reporting issues I would ignore it as its probably more of a pain to figure out than whats it worth.
If you wanted to try and diagnose, you could strace your sshd processes and do a tcpdump on the interface it uses to see in excruciating detail what is happening at the time the error occurs and work backwards from there.
ClientAliveInterval
Sets a timeout interval in seconds after which if no data has been received from the client, sshd(8) will send a message through the encrypted channel to request a response from the client. The default is 0, indicating that these messages will not be sent to the client. This option applies to protocol version 2 only.
Here you can find all the configuration options that control the time out.
Are you ACTUALLY having an issue here? If not just ignore the message in your log file. This could be something that is by design from your network switches/firewalls, etc..
Actually we are receiving this alert in log file and the same was generating as a ticket through monitoring tool.. so we are getting tickets regularly for this issue... would like to fix this...
Chaitu4u, monitoring and tickets being created would be the problem I would correct in my mind. An ssh timeout can occur for many various reasons, in almost every network ive been in there have been inactivity drops on connections on the network layer. Feel free to keep digging around but because you don't actually have a problem it will be very hard to find the solution.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.