CentOS 6 - Connection Reset By Peer Error

Hi,

I have a CentOS 6 machine [Machine X], which I connect to using a putty client or from another CentOS 6 machine.

Now, the machine X intermittently sends a connection reset message to all SSH sessions -

Code:
Read from remote host 1.1.1.1: Connection reset by peer
Connection to 1.1.1.1 closed.

I have switched off the firewall on the machine & there are no session timeout values set.

How do I find out what is causing this issue?


Thanks

Bhushan


Similar Content



Usb Bulk Transfer Error: Reset By Peer

Hi,
I am working on usb device driver. Frequently I am getting problem in usb_bulk_msg during sending data from host to device, its returning -104 i.e. reset by peer.

I am using embedded linux_3.14 on Renesas RZA1H board.

Please let me know what is the issue.

Thanks

I Need To Setup Kyless Ssh Between CentOS And HP-UX Both Ways

I have 2 linux boxes Code:
HP-UX server1 B.11.11 U 9000/800

and Code:
 CentOS release 6.3 (Final)

I need to setup a password-less ssh. I could login from HP-UX to cent os but not other way.

Is it possible to use password less ssh both ways ? Is there any extra step in HP to setup keygen?

what I am doing

Code:
ssh-keygen -t rsa

copy the ~/.ssh/id_rsa.pub from client machine to ~/.ssh/authorized_keys on server machine

How To Change IP Address Of Remote Machine?

Hi all

This is bothering me too much, please tell me how to change IP address of remote machine while using ssh successfully.

I follow these steps:
1. connect to remote server using 'ssh root@server'
2. Edit '/etc/sysconfig/network-scripts/ifcfg-eth0' file
3. issue 'service network restart' command... (at this point ssh connection gets hanged)
4. Break from hanged ssh connection (<ENTER>~.)
5. Wait for some time to let service restart
6. Then finally, ssh with new ip address.

All is fine, but last time, i did something wrong while assigning new IP address, and after service restart, remote server didn't get new ip address - and now i cant connect to remote server.

Fortunately, i had a friend there, who helped me correct the problem so that i can connect again.

But what to do when there is no one to help? Is there other way i should approach this problem?

Thanks

What Could Be Blocking Incoming Connections To My Program?

Hi all,
I am brand new to Linux, playing around a bit with different things to see how I can use it in the future. Here is my problem:

I have written a simple program in Ada that works well on windows. It opens a TCP port (20000) and listens for incoming connections. I tried it on my internal network and it works well. I can connect from other windows machines and even from my Linux machine.

Now I moved the program to Linux and compiled it there. It starts ok and then listens for the connections. I can connect to it from that same Linux machine but not from any other machine on my network.

I checked the firewall status on Linux with ufw status and it is disabled. I also tried to add a rule to the iptables with
iptables -A INPUT -p tcp --dport 20000 -j ACCEPT

but still nothing. I can not connect from another machine on my network. I also tried to open a simple telnet connection from a windows machine and that too is blocked. I thought without the firewall all incoming connections would be allowed but obviously something is not working as I thought.

Any help would be greatly appreciated

Create Windows VirtualBox Guest On Centos

I have VirtualBox up and running on my headless Centos 6 machine, am using http://sourceforge.net/projects/phpvirtualbox/ as a GUI, and created a virtual machine and installed Windows 7 on it.

I can access it using the VirtualBox console (via phpvirtualbox interface), however, only can see part of the screen and the mouse doesn't work properly. I can also access it using Windows Remote Desktop Connection using IP 192.168.1.200:9000 (why port 9000?), but again the mouse doesn't work.

I have the following ext packs installed on the server.
Code:
login as: Michael
Michael@192.168.1.201's password:
Last login: Sat May 23 10:06:04 2015 from 192.168.1.10
[Michael@devserver ~]$ VBoxManage list extpacks
Extension Packs: 1
Pack no. 0:   Oracle VM VirtualBox Extension Pack
Version:      4.3.10
Revision:     93012
Edition:
Description:  USB 2.0 Host Controller, Host Webcam, VirtualBox RDP, PXE ROM with                                                                                                                                                              E1000 support.
VRDE Module:  VBoxVRDP
Usable:       true
Why unusable:
[Michael@devserver ~]$

Do I need additional extensions to better interact with the guest? How are they installed? Thank you

Moving A Compiled App To Another Machine

Hello,

I downloaded source code for Sage math application and compiled (make command) it on a test Centos 6.4. Did some testing and all. Can I move the directory to another machine with the same Centos version?

http://www.sagemath.org/doc/installa...er-environment


Thanks,
TT

Problem With Firewall. :(

Hi,
i have a index page in /var/www/html, from the local machine i can open the page as localhost or the machine name even the firewall is on or off, But when i type the ip of the machine in another LAN pc it automautically navigate to another folder say like 192.168.1.1 enter -> 192.168.1.1/newpage and gives out 404 error when the firewall is up but i get the page when the firewall is down what do i do?

Centos 5.5 Need To Reset Gui Password Not The Root Password

I found an old laptop that has centos 5.5 installed. I reset the root password, but I need to reset the gui password. Is there a way to view this password or reset it? I have not worked with Linux over 5 years and am rusty on all the commands

How To Solve Scp Ssh Port 22 Error ?

Hi!

Im trying to use scp to copy changed httpd.conf files to 2 remote machines (the script is executed in one machine from remote and the result is copied to the both).

scp -vvv first_machine_name@ip_address:filename \second_machine_name@second_ip_address:/usr/local/apache/conf

Using RHEL 5.7 with mremote in windows 7 im getting this error:

ssh: connect to host <ip address> port 22: Connection refused

How can I solve it ? Thanks.

NAT From Public IP Address To Private IP Address On Centos 7

I have two centos 7 Server machines. "Machine-1" is having two NIC cards, one with public ip and another with private ip address. "Machine-2" is having a one NIC card with a private IP Address. how can i configure NAT on machine-1 to forward all TCP Traffic coming on public ip to the private ip of machine-2.

Pls give me a solve.its give me pain