Re: Using two agents

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

 



On 30/05/15 15:00, Kasper Dupont wrote:
This approach works as long as key1 is not encrypted:
ssh-agent bash
ssh-add key2
ssh -i key1 -A server1

But if key1 is encrypted it is highly inconvenient to have
to type my password each time I connect to server1. It is
also prone to phishing attacks, because when I type the ssh
command, how can I really know if the password prompt I see
is from ssh needing to decrypt key1 or from server1 trying
to get my decryption password.

Have you considered launching a master process to server1 at
the beginning of the session?
That way, you will only need to provide the password for key1
once.



_______________________________________________
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