removed use of die function in ssh-key