Lose ssh connection to new created vm after a while but can reconnect
After i create a new vm with a floating ip i connect over ssh to this vm. After few minutes i lost the ssh connection but i can reconnect to the vm an never lost the connection again.
- create VM
- attach Floating IP
- ssh over floating IP to the VM
- run command on the vm: i=1; while [[ "$i" -le "600" ]]; do sleep 1; \ echo "$(date +'%T') $i / 600"; i=$((i + 1)); done
- lose connection after few minutes
- ssh over floating IP again
Same does not appears if i ssh from another vm over the private ip.
Any Help?