Colin Watson wrote:
On Wed, Nov 19, 2003 at 03:56:41PM +0100, Clement Hermann wrote:ssh-copy-id checks and fail if no agent is running, but continue if there is an agent without identity loaded (e.g. unloaded because of a timeout or never loaded).a patch is attached (the agent answer "The agent has no identities." if no identity is loaded, and... doesn't answer if it is not running ;) )Ewwww. :) Why not just look at the agent's exit code?
I'll have a look, but ssh-copy-id is kind of horrible ...
-- Clément 'nodens' Hermann <clement.hermann@free.fr> - L'air pur ? c'est pas en RL, ça ? c'est pas hors charte ? -- Jean in "l'Histoire des Pingouins" - http://tnemeth.free.fr/fmbl/linuxsf