RHEL: Cannot ssh into server after changing the VPN environment
Issue
After changing the VPN environment the ssh server is resetting the connection.
$ ssh root@172.16.1.200
ssh_exchange_identification: read: Connection reset by peer
$
tcpdump shows that the server is resetting the connection
# tcpdump -n -i bond0 tcp port 22
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on bond0, link-type EN10MB (Ethernet), capture size 65535 bytes
06:58:16.089257 IP 172.16.1.11.48988 > 172.16.1.200.ssh: Flags [S], seq 3292228753, win 29200, options [mss 1460,sackOK,TS val 55487295 ecr 0,nop,wscale 7], length 0
06:58:16.089329 IP 172.16.1.200.ssh > 172.16.1.11.48988: Flags [S.], seq 467456454, ack 3292228754, win 14480, options [mss 1460,sackOK,TS val 72639143 ecr 55487295,nop,wscale 7], length 0
06:58:16.089539 IP 172.16.1.11.48988 > 172.16.1.200.ssh: Flags [.], ack 1, win 229, options [nop,nop,TS val 55487296 ecr 72639143], length 0
06:58:16.089777 IP 172.16.1.11.48988 > 172.16.1.200.ssh: Flags [P.], seq 1:24, ack 1, win 229, options [nop,nop,TS val 55487296 ecr 72639143], length 23
06:58:16.089818 IP 172.16.1.200.ssh > 172.16.1.11.48988: Flags [.], ack 24, win 114, options [nop,nop,TS val 72639144 ecr 55487296], length 0
06:58:21.101948 IP 172.16.1.200.ssh > 172.16.1.11.48988: Flags [R.], seq 1, ack 24, win 114, options [nop,nop,TS val 72644155 ecr 55487296], length 0
Environment
Red Hat Enterprise Linux
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.