Shortcuts to servers

Posted on by Kim

vi ~/.ssh/config

Host jenkins
    Hostname 198.234.12.434
    User geaddev

Host test
    Hostname v-x-e-4ewf.edfer.facb
    User geaddev
vi ~/.bash_aliases
alias jenkins='ssh jenkins'
alias tst='ssh test'
alias sta='ssh staging'

0 Responses to "Shortcuts to servers":