can't ssh into my linode anymore
The website itself is up and running, http works. Restarting sshd didn't help (using the linode console).
help?
5 Replies
Apr 5 19:40:13 kosh sshd[2776]: error: Bind to port XXXX on 0.0.0.0 failed: Add
ress already in use.
I changed the port to a choosen number (hidden as XXX) in sshd_config. This used to work, I even stopped iptables
netstat:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
tcp 0 0 :::XXXX :::* LISTEN
````
Reboot didn't help, same issue and error.
Apr 5 23:08:29 kosh sshd[2447]: Server listening on :: port XXXX.
Apr 5 23:08:56 kosh sshd[2451]: refused connect from ::ffff:24.130.219.56 (::ff
ff:24.130.219.56)
I had to change sshd_config to this to fix the already in use error:
Port XXXX
Protocol 2,1
Protocol 2
AddressFamily inet
ListenAddress 0.0.0.0
ListenAddress ::
````
Seems to be ipv6 related? Now to figure out why its rejecting everything.
I can ssh into localhost from the ajax console just fine, just not remotly