I have fixed this problem for me in /etc/network/interfaces
auto eth0 iface eth0 inet dhcp up service ssh start
I have fixed this problem for me in /etc/network/ interfaces
auto eth0
iface eth0 inet dhcp
up service ssh start