Posted By

adamokruhlicaeu on 06/25/13


Tagged

Bash ssh


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

Abiotic
scilec


Create bash alias for SSH connection


 / Published in: Bash
 

Create a bash alias for a SSH command, e.g. sshToWork

  1. echo "alias sshToWork=\"ssh -i pathToKey.pem user@host\"" >> $HOME/.bash_profile

Report this snippet  

You need to login to post a comment.