Recently, my SSH log-in command hangs when trying to connect via IPv6. I've isolated it to IPv6 being the issue because when I force (
I've disabled the IPv6 protocol on my RHEL system, and even modified the sshd_config to use inet for the AddressFamily. Here's a sample from the config file (/etc/ssh/sshd_config):
I don't know why a lot of it is commented out by default, but I've even restarted sshd with the hash tags removed in the config file to no avail. Aside from aliasing, is there any way force my ssh logins to use -4?
ssh -4) for my login, it immediately asks me for my password and does not hang up. Here's a sample from
C:\Users\***>ssh -v [email protected] OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5 debug1: Connecting to hostname [XXXX:XXX:XX:XX::XX] port 22. debug1: connect to address XXXX:XXX:XX:XX::XX port 22: Connection timed out debug1: Connecting to fuerteventura [XXX.XX.XX.XX] port 22. debug1: Connection established
#Port 22 #AddressFamily inet #ListenAddress 0.0.0.0 #ListenAddress :: HostKey /etc/ssh/ssh_host_rsa_key #HostKey /etc/ssh/ssh_host_dsa_key HostKey /etc/ssh/ssh_host_ecdsa_key HostKey /etc/ssh/ssh_host_ed25519_key