Fixing ssh_keypair creation process

Change-Id: Ief79ff90ea38dcfe162cea9d5408f736be1b2090