Bug 461 - ssh-copy-id is messy when invoked with no arguments
Summary: ssh-copy-id is messy when invoked with no arguments
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Miscellaneous (show other bugs)
Version: -current
Hardware: All Linux
: P2 minor
Assignee: OpenSSH Bugzilla mailing list
URL: http://bugs.debian.org/71376
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-01 02:26 AEDT by Colin Watson
Modified: 2004-04-14 12:24 AEST (History)
0 users

See Also:


Attachments
Output usage message if invoked with no arguments or "help"-like arguments (619 bytes, patch)
2003-01-01 02:28 AEDT, Colin Watson
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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