From 2273c301778d605624f170df4e8d05c8dcc38553 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Tue, 17 Jul 2007 09:45:13 +0000 Subject: * ssh-copy-id defaults to ~/.ssh/id_rsa.pub rather than ~/.ssh/identity.pub, in line with ssh-keygen (thanks, Greg Norris; closes: #234627). --- contrib/ssh-copy-id | 4 ++-- contrib/ssh-copy-id.1 | 4 ++-- debian/changelog | 3 +++ 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/contrib/ssh-copy-id b/contrib/ssh-copy-id index 093fb2668..2c480e359 100644 --- a/contrib/ssh-copy-id +++ b/contrib/ssh-copy-id @@ -1,11 +1,11 @@ #!/bin/sh -# Shell script to install your identity.pub on a remote machine +# Shell script to install your public key on a remote machine # Takes the remote machine name as an argument. # Obviously, the remote machine must accept password authentication, # or one of the other keys in your ssh-agent, for this to work. -ID_FILE="${HOME}/.ssh/identity.pub" +ID_FILE="${HOME}/.ssh/id_rsa.pub" if [ "-i" = "$1" ]; then shift diff --git a/contrib/ssh-copy-id.1 b/contrib/ssh-copy-id.1 index b331fa149..f25ed01f2 100644 --- a/contrib/ssh-copy-id.1 +++ b/contrib/ssh-copy-id.1 @@ -18,7 +18,7 @@ the original English. .. .TH SSH-COPY-ID 1 "14 November 1999" "OpenSSH" .SH NAME -ssh-copy-id \- install your identity.pub in a remote machine's authorized_keys +ssh-copy-id \- install your public key in a remote machine's authorized_keys .SH SYNOPSIS .B ssh-copy-id [-i [identity_file]] .I "[user@]machine" @@ -42,7 +42,7 @@ set in its configuration). If the .B -i option is given then the identity file (defaults to -.BR ~/.ssh/identity.pub ) +.BR ~/.ssh/id_rsa.pub ) is used, regardless of whether there are any keys in your .BR ssh-agent . Otherwise, if this: diff --git a/debian/changelog b/debian/changelog index 2e6a25b5e..f1db99a80 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,6 +6,9 @@ openssh (1:4.6p1-5) UNRELEASED; urgency=low Simó; closes: #221675). * ssh-copy-id no longer prints the output of expr (thanks, Peter Eisentraut; closes: #291534). + * ssh-copy-id defaults to ~/.ssh/id_rsa.pub rather than + ~/.ssh/identity.pub, in line with ssh-keygen (thanks, Greg Norris; + closes: #234627). * debconf template translations: - Update Catalan (thanks, Jordà Polo; closes: #431970). -- cgit v1.2.3