Skip to content

Instantly share code, notes, and snippets.

@dundee
Created August 5, 2011 12:18
Show Gist options
  • Save dundee/1127412 to your computer and use it in GitHub Desktop.
Save dundee/1127412 to your computer and use it in GitHub Desktop.
SSH config file (~/.ssh/config)
Host milde
HostName milde.cz
User dundee
Port 1080
Host nagios
HostName nagios.milde.cz
User dundee
Port 1080
IdentityFile ~/.ssh/alternative
@fprochazka
Copy link

To je super! V systému to funguje implicitně? A stačí pak

$ ssh milde

?

@dundee
Copy link
Author

dundee commented Aug 5, 2011

JJ, právě že stačí.

Pokud je správně nainstalovaný bash completion, tak to i napovídá tyhle aliasy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment