1

When I reboot a VM (Ubuntu 16.04) of mine, I'm no longer able to ssh to it. From what I understand, 'apt-get install openssh' gives you sshservice on startup by default so I'm guessing this isn't the reason.

Does anybody have any thoughts as to what the problem might be?

rafvasq
  • 111
  • 1
    How are you trying to connect and authenticate (password? keys?) and what happens exactly (connection refused? times out? fails to authenticate?). Have you tried running the SSH client in verbose mode to see where it fails? – steeldriver Jul 27 '16 at 12:32
  • @steeldriver I am using putty and I get a Network Error: Connection timed out error. Not sure how to run verbose mode, can you explain how? – rafvasq Jul 27 '16 at 13:16
  • Maybe : https://askubuntu.com/questions/1109934/ssh-server-stops-working-after-reboot-caused-by-missing-var-run-sshd – Sky Voyager Mar 26 '19 at 13:39

1 Answers1

0

After some investigation, I figured out that the network device was simply deactivated. Weird that it deactivated upon reboot but after I could ssh I rebooted to see if the problem would occur again and it didn't.

rafvasq
  • 111