Skip to primary content

haxed.me.uk

a place of infrastructure delights

haxed.me.uk

Main menu

  • Home
  • About Adam Bull
  • Contact Me

Post navigation

← Previous Next →

Connecting to other machines via ssh using Alias

Posted on 24th November 2015 by azio

What it says on the tin:

vi .bash_profile
alias mymailserver='ssh [email protected]'
alias mybox1='ssh ssh [email protected]'
alias mybox2='ssh [email protected]'
alias mybox3='ssh [email protected]'
alias mybox4='ssh [email protected]'
source .bash_profile

Simplez

This entry was posted in BASH, Linux by azio. Bookmark the permalink.
Proudly powered by WordPress