Originally Posted by sankarm72
I am unable to login locally on my redhat linux 5.4 server.The login prompt keep getting again and again when I type userid. It doesn't allow me to type in my userID .When I just type the frist letter of my user-ID the login prompt again pops up.the /var/log/secure has the following message
bind to port 22 on 0.0.0.0 failed address already in use.
Please kindly help me on how to resolve this issue. I need to login to my server ASAP.
Thaks a lot in advance.
This happens when you are using both IPv4 and IPv6 for ssh. If you don't use IPv6 then make sure you have disabled all IPv6 options in your machine
install ipv6 /bin/true
if the above file is not present then
# echo "install ipv6 /bin/true" >> /etc/modprobe.d/disable-ipv6.conf
#chkconfig --level 345 ip6tables off
rebooting your machine to take affects will be best