﻿id,summary,reporter,owner,description,type,status,component,version,resolution,keywords,cc,guest,host
15412,Virtualbox 5.0.20 Breaks SSH after VM was Saved and Re-Started if NIC is NAT => Fixed in SVN,Hagen Kuehn,,"Affected:
Virtualbox 5.0.20  

Problem:
It's not possible to SSH to the guest VM once the VM was saved and re-started from saved state, if the NIC is NAT.

This problem was initially observed while using Vagrant and was reported with [https://github.com/mitchellh/vagrant/issues/7306] .

How to reproduce:

Create a vanilla Ubuntu 16.04 Server VM.

1. Downloaded Ubuntu 16.04 Server from [http://www.ubuntu.com/download/server]
2. Install Ubuntu 16.04 Server as new VM
 - Configure VM to have one NIC as NAT
 - Only install SSH Server
3. Starte VM
4. Successfully establishe SSH connection
$ ssh -p 2222 ubuntu@localhost
5. Save the state of the VM by using Virtualbox
$ VBoxManage controlvm Ubuntu-Server-16.04 savestate
6. Start the VM from the saved state by using Virtualbox
$ VBoxManage startvm Ubuntu-Server-16.04
7. Observe Failure: SSH to the VM but fails with error: '''ssh: connect to host localhost port 2222: Connection refused'''
$ ssh -p 2222 ubuntu@localhost",defect,closed,network/NAT,VirtualBox 5.0.20,fixed,SSH savestate,,Linux,Linux
