
Originally Posted by
CharlesA
How did you configure sshd_config?
I just replaced port 25 with my new port and replaced ListenAddress 123.123.123.123 to my new IP eg.
Code:
Port 30002
#ListenAddress ::
ListenAddress 345.345.345.345
Protocol 2
and I set my new IP up in /etc/network/interfaces as so
Code:
# Automatically generated by OnApp (2.0.rc5)
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 123.123.123.123
netmask 255.255.255.128
broadcast 123.123.123.255
network 123.123.123.128
gateway 123.123.123.129
auto eth0:1
iface eth0:1 inet static
address 345.345.345.345
netmask 255.255.255.0
gateway 345.345.345.1
It sounds like it's starting SSH up before networking is starting up.
Yep that's what I figured - in fact in syslog you can see that my primary ip is started and then it tries SSH and then after avahi it starts my new interface / IP.
Bookmarks