Bug 781

Summary: ssh-copy-id carries on if ssh fails
Product: Portable OpenSSH Reporter: Colin Watson <cjwatson>
Component: MiscellaneousAssignee: OpenSSH Bugzilla mailing list <openssh-bugs>
Status: CLOSED FIXED    
Severity: minor    
Priority: P2    
Version: 3.6.1p2   
Hardware: All   
OS: Linux   
URL: http://bugs.debian.org/215252
Attachments:
Description Flags
make ssh-copy-id exit if ssh fails none

Description Colin Watson 2004-01-04 11:51:42 AEDT
If ssh fails, for instance because the user mistyped the hostname, ssh-copy-id
carries on and tells them to try logging into the machine to check that
everything's OK. It should check the exit code and itself exit immediately at
that point.

I'll attach a patch in a moment.
Comment 1 Colin Watson 2004-01-04 11:52:31 AEDT
Created attachment 521 [details]
make ssh-copy-id exit if ssh fails
Comment 2 Darren Tucker 2004-01-04 14:17:14 AEDT
Patch applied, thanks.
Comment 3 Damien Miller 2004-04-14 12:24:20 AEST
Mass change of RESOLVED bugs to CLOSED