RHEL6: Read from socket failed: Connection reset by peer

Discuss Your Server Questions and Aswers

RHEL6: Read from socket failed: Connection reset by peer

Postby rinorajan » Mon Mar 02, 2015 1:37 pm

Hi,

Kindly help me out on the belw.
While connecting from server to client(through ssh) am getting an error as below.

"Read from socket failed: Connection reset by peer"

Even I uncommented Ciphers as well(/etc/ssh/ssh_config) in client machine.


Rino.
rinorajan
 
Posts: 0
Joined: Tue Feb 24, 2015 12:37 pm

Re: RHEL6: Read from socket failed: Connection reset by peer

Postby dani_kurian » Mon Mar 09, 2015 11:34 am

Hi,

This sounds almost like a permission problem on the server side. Assuming you have some other way of connecting to it (I would not know how you pasted your public key in their otherwise), check the sshd log file ( /var/log/auth.log but depending on your configuration file).

The log should point you in the right direction, but in particular you should set the permissions of ~/.ssh on the server to 700 with respective owner. It could also be the permissions of the files in ~/.ssh. Or on /etc/ssh or the files in there (which would mean other accounts on the server should have the same ssh login problems).
dani_kurian
 
Posts: 0
Joined: Mon Feb 23, 2015 10:02 am

Re: RHEL6: Read from socket failed: Connection reset by peer

Postby Vipin » Mon Mar 09, 2015 2:10 pm

Vipin
 
Posts: 0
Joined: Tue Nov 25, 2014 11:50 am
Location: Trivandrum

Re: RHEL6: Read from socket failed: Connection reset by peer

Postby rinorajan » Mon Mar 09, 2015 9:22 pm

thank's alot.
It's ok and working fine now :)
rinorajan
 
Posts: 0
Joined: Tue Feb 24, 2015 12:37 pm

RHEL6 Read from socket failed Connection reset by peer

Postby Martinvodo » Tue Oct 11, 2016 11:03 pm

Is there any way to create an SMTP mail server will all granular permissions to it so that I can read emails which that server receives through any scripting language and also reply from the same server automatically?
Martinvodo
 
Posts: 0
Joined: Tue Aug 02, 2016 1:15 am
Location: Eritrea

RHEL6 Read from socket failed Connection reset by peer

Postby kapriolzzm » Sun Nov 13, 2016 4:31 am

Hi all
I am using RHEL5 in my pc. I want to make a ONLINE yum repositery so that i can resolve dependies error easily as we can do in Fedora 9.
Please help me in getting the solution of this problem
kapriolzzm
 
Posts: 0
Joined: Tue Oct 04, 2016 12:31 pm
Location: Ethiopia

RHEL6 Read from socket failed Connection reset by peer

Postby ScarletWed » Tue May 21, 2019 10:53 am

thanks for for your reply bros, but I am a RHCE Server is alright, Even PHP is running on WAMP and XAMP. Kya yeh problem Apache ki ho sakti hai. Should i do something with apache?
ScarletWed
 
Posts: 0
Joined: Mon May 06, 2019 7:02 am
Location: Romania


Return to Linux Server Configurations

Login  •  Register

cron