How to use ssh -i with a key from ssh-agent rather than from a file?

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



Hi,

I have a VM with a git repository whose origin is on
github. I have several keys known to github, so I needed
to set git's core.sshcommand config parameter in the
repository to something like this:

  ssh -i ~/.ssh/id_ed25519_github2

But it meant that I needed to copy that key to the VM.
The same key is available via my forwarded ssh-agent
connection. Is it possible to tell ssh to use that
instead of the key in a file? The documentation for the
-i option only mentions files.

cheers,
raf

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux