Epics@GSI Webhome

SSH config: host specific identity

Introduction

Using the features of the config file of ssh in ~/.ssh one can specify host specific ssh options, including varying identities and users.

from: http://www.gelato.unsw.edu.au/archives/git/0611/31044.html

Example:
  • connecting to a specific host using a different identity file and user
$> cat ~/.ssh/config
    Host jspc29.x-matter.uni-frankfurt.de
            User git
            Hostname jspc29.x-matter.uni-frankfurt.de
            IdentityFile ~/.ssh/id_dsa_git


-- PeterZumbruch - 08 May 2013
Edit | Attach | Print version |  PDF | History: r2 < r1 | Backlinks | View wiki text | Edit WikiText | More topic actions...
Topic revision: r1 - 2013-05-08, PeterZumbruch
 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding GSI Wiki? Send feedback
Imprint (in German)
Privacy Policy (in German)