fixed sourcing of die function in ssh-key