[Bug 1723] New: ssh-copy-id gets confused when an agent has no	loaded identities
    bugzilla-daemon at bugzilla.mindrot.org 
    bugzilla-daemon at bugzilla.mindrot.org
       
    Tue Mar  2 00:39:44 EST 2010
    
    
  
https://bugzilla.mindrot.org/show_bug.cgi?id=1723
           Summary: ssh-copy-id gets confused when an agent has no loaded
                    identities
           Product: Portable OpenSSH
           Version: 5.3p1
          Platform: Other
               URL: http://bugs.debian.org/221675
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Miscellaneous
        AssignedTo: unassigned-bugs at mindrot.org
        ReportedBy: cjwatson at debian.org
Created an attachment (id=1797)
 --> (https://bugzilla.mindrot.org/attachment.cgi?id=1797)
check ssh-add -L exit status
When an agent has no loaded identities, 'ssh-add -L' prints "The agent
has no identities.".  ssh-copy-id gets confused by this.  It should
check the exit status from 'ssh-add -L' before trying to use its
output.
The attached patch is by Adeodato Simó <asp16 at alu.ua.es>.
-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
    
    
More information about the openssh-bugs
mailing list