Skip to content

Commit

Permalink
- (djm) Bug #461: ssh-copy-id fails with no arguments. Patch from
Browse files Browse the repository at this point in the history
   cjwatson@debian.org
  • Loading branch information
djmdjm committed Jan 3, 2003
1 parent 678ee51 commit 8aff5cb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
6 changes: 5 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
20030103
- (djm) Bug #461: ssh-copy-id fails with no arguments. Patch from
cjwatson@debian.org

20030101
- (stevesk) [session.c sshlogin.c sshlogin.h] complete portable
parts of pass addrlen with sockaddr * fix.
Expand Down Expand Up @@ -917,4 +921,4 @@
save auth method before monitor_reset_key_state(); bugzilla bug #284;
ok provos@

$Id: ChangeLog,v 1.2537 2003/01/01 23:43:55 stevesk Exp $
$Id: ChangeLog,v 1.2538 2003/01/03 03:34:06 djm Exp $
7 changes: 6 additions & 1 deletion contrib/ssh-copy-id
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,12 @@ if [ -z "`eval $GET_ID`" -a -r "${ID_FILE}" ] ; then
fi

if [ -z "`eval $GET_ID`" ]; then
echo "$0: ERROR: No identities found"
echo "$0: ERROR: No identities found" >&2
exit 1
fi

if [ "$#" -lt 1 ] || [ "$1" = "-h" ] || [ "$1" = "--help" ]; then
echo "Usage: $0 [-i [identity_file]] [user@]machine" >&2
exit 1
fi

Expand Down

0 comments on commit 8aff5cb

Please sign in to comment.