by Juliet Kemp
It is possible to use
ssh-add -l to list the ssh keys which
ssh-agent is currently handling. (I love
ssh-agent.) Is there an easier way of doing this from the command line or within bash than just getting the output of
`ssh-add -l` (and then searching it for a particular key)?
Investigating this has led me to discover the perl module Net::SSH::Perl::Agent (there's also Net::SSH::Perl::Auth), so possibly I should rewrite the relevant scripts in perl instead. I haven't been able to play with that yet as the CPAN mirror I use seems to be on a go-slow.