A brand new linux box running Ubuntu 16.04.1 (LTS) Server was installed into a Citrix VM. It was set up with openSSH.
When connecting to it via, it will timeout. This happens even immediately after I exit a live ssh session and try to ssh again.
If I'm in a session, it will often cut me off, with an error about a broken pipe. I've set up a basic Apache HTTP web server on it, and I often won't be able to reach the pages the server should be serving up.
This all doesn't work unless I run a ping command in another window to that box.
I know it looks weird. But it works. No broken pipes. Web server responsive. It almost seems like the VM falls asleep unless I constantly prod it with a ping command. It will wake up if I nmap the server (long enough at least for me to ssh in). Once I'm connected, the web server works intermittently.
Anyway, what could be happening here? I don't think this is purely about client/server timeout settings. After all, if it was, would it start accepting connections after pinging or nmapping the remote host?
sudo ufw status verbose
and it returned withstatus: inactive