Bug#221675: ssh-copy-id should stop when there is no identity loaded. Patch attached.
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 ...
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: