changed the way of getting ssh private key
fixed the wrong import