Re: what is running on port 22?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mike Wright wrote:
> Hi all,
> 
> Exploring fc6 and something strange is going on.  I can't ssh in.  When
> I enter "ssh -l mike test" I get a login prompt, enter my password, then
> nothing.  If I look at the connection with tcpdump I see that the two
> hosts are communicating.
> 
> selinux is disabled.
> iptables has been stopped.
> ip6tables has been stopped.
> Everything in /etc/xinetd.d is set disable = yes.
> 
> chkconfig --list sshd
> 
>     0:off 1:off 2:off 3:off 4:off 5:off 6:off
> 
> service sshd stop
> 
>     Stopping sshd [OK]
> 
> service sshd status
> 
>     sshd (pid 2205) is running
> 
> service sshd stop
> 
>     Stopping sshd [FAILED]
> 
> service sshd status
> 
>     sshd is stopped
> 
> service sshd start
> 
>     error: Bind to port 22 on 0.0.0.0 failed. Address already in use.
> 
> OK, so I reboot....
> 
> service sshd status
> 
>     sshd (pid2205) is running
> 
> sshd is set NOT to run on bootup but something is starting it, but
> whatever it is won't accept the login.
> 
> aaaargh!!
> 
> Anybody know what's going on?
> 
> TIA,
> Mike Wright
> 


sudo netstat -natp

will tell you what's listening on port 22

-- 
Jim Garrison (jhg@xxxxxxx)
PGP Keys at http://www.jhmg.net RSA 0x04B73B7F DH 0x70738D88

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux