U bent hier

Using multiple SSH Private Keys

Door egbert op zo, 09/09/2018 - 12:19
  • First generate the key with ssh-keygen
  • Create following file ~/.ssh/config.
  • Enter following information:
    Host %enter_a_nice_name%
                     HostName %target%
                     User %username%
                     IdentityFile ~/.ssh/%generated_key_file% (normally in ~/.ssh directory)

  • Do this for your multiple target hosts