• GoDaddy Community
  • VPS & Dedicated Servers
  • VPS & Dedicated Servers

    cancel
    Showing results for 
    Show  only  | Search instead for 
    Did you mean: 
    Community Team

    Using an alias for easier remote SSH access on Mac

    What we're doing here: adding an alias to your .bash_profile.

    Posting this because I always forget about it, and I figure it'll be useful for others.

     

    From the terminal:

     

    nano ~/.bash_profile
    alias devRemote = “ssh username@XX.XXX.XXX.XXX -i ~/.ssh/private_key” # GoDaddy Cloud
    source ~/.bash_profile

     

    Note:

    • Replace "devRemote" with whatever your alias is.
    • Replace "username@XX.XXX.XXX.XXX" with your Cloud credentials.

     

    Senior Community Manager, GoDaddy Pro
    Need help with your account? Find 24/7 support at x.co/247support
    Browse our articles for website designers & developers on the GoDaddy Blog.
    Do you build websites for others? Join the GoDaddy Pro partner program.
    Follow @GoDaddyPro on Twitter for helpful tips, useful links and exclusive updates.
    0 REPLIES 0