odd ssh behaviour

Ken D'Ambrosio ken at jots.org
Wed Jun 28 22:53:12 UTC 2017


On 2017-06-28 18:31, Ben Edwards wrote:
> ssh: connect to host 192.168.1.110 port 22: Connection refused

Doesn't sound like it's running. ;-)  I'd verify:
sudo lsof -P -i -n | grep ":22"

That should return something like:
sshd      1638     root    3u  IPv4  50812      0t0  TCP *:22 (LISTEN)

If it doesn't, either SSHD isn't *really* running, or it's dying.  Or, 
though wicked unlikely, it's using a different port.  If it *is* 
running, it's probably an iptables issue:

sudo service iptables stop

and then try again.  Lastly, you say you moved machines.  It's just 
barely possible you have a duplicate IP issue if the DHCP client on the 
new system is confused.  Unlikely, but something to entertain verifying.

-Ken


> It is using a network cable that I can use fine on another box so it
> is not the switch/cable.
> 
> Any ideas?
> 
> Ben
> 
> --
> _Ben Edwards, Video Editor and Cameraman_
> _web_:WWW.NKYTWIG.COM [1]_ mobile:_07773 02 44 82 _skype_:FUNKYTWIG_
> twitter:_ at FUNKYTWIG
> iContact Community Video [2] | Bristol Community Channel [3]
> 
> 
> Links:
> ------
> [1] http://funkytwig.com/
> [2] http://www.icontactvideo.org/
> [3] http://bristol.mirocommunity.org/




More information about the ubuntu-users mailing list