I have created a virtual machine instance from snapshot taken the production server. SSH key is set. But I am unable to ssh into instance both from the putty and google clou
@Patrick answer helps me get to answer, explanatory steps
#!/bin/bash
sudo useradd -G sudo user
sudo echo 'user:password' | chpasswd
auto lo
iface lo inet loopback
2) Following startup script also work for me
#!/bin/bash
sudo dhclient eth0