[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#291534: ssh-copy-id prints out random numbers



Package: ssh
Version: 1:3.8.1p1-8.sarge.4
Severity: minor
Tags: patch

When using ssh-copy-id with -i it prints out a random number to the
terminal, e.g.,

$ ssh-copy-id -i ~/.ssh/id_dsa.pub foo@bar
25
Now try logging into the machine, with "ssh 'foo@bar'", and check in:

  .ssh/authorized_keys

to make sure we haven't added extra keys that you weren't expecting.

The "25" is output from the expr tool that is used in ssh-copy-id and
should be hidden.  The attached patch fixes this.

Attachment: openssh-copy-id.patch
Description: Binary data


Reply to: