Bug 461

Summary: ssh-copy-id is messy when invoked with no arguments
Product: Portable OpenSSH Reporter: Colin Watson <cjwatson>
Component: MiscellaneousAssignee: OpenSSH Bugzilla mailing list <openssh-bugs>
Status: CLOSED FIXED    
Severity: minor    
Priority: P2    
Version: -current   
Hardware: All   
OS: Linux   
URL: http://bugs.debian.org/71376
Attachments:
Description Flags
Output usage message if invoked with no arguments or "help"-like arguments none

Description Colin Watson 2003-01-01 02:26:43 AEDT
$ ssh-copy-id
  Pseudo-terminal will not be allocated because stdin is not a terminal.
  ssh: umask 077; test -d .ssh || mkdir .ssh ; cat >> .ssh/authorized_keys: Name
or service not known
  Now try logging into the machine, with "ssh ''", and check in:
  
    .ssh/authorized_keys
  
  to make sure we haven't added extra keys that you weren't expecting.

I'll attach a patch in a moment to make it display usage output instead when
invoked like this.
Comment 1 Colin Watson 2003-01-01 02:28:22 AEDT
Created attachment 188 [details]
Output usage message if invoked with no arguments or "help"-like arguments
Comment 2 Damien Miller 2003-01-03 14:34:23 AEDT
Applied - thanks
Comment 3 Damien Miller 2004-04-14 12:24:18 AEST
Mass change of RESOLVED bugs to CLOSED