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?

  • 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? Jul 27, 2016 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, 2016 at 13:16
  • Maybe : askubuntu.com/questions/1109934/… Mar 26, 2019 at 13:39

1 Answer 1


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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .