diff options
author | Shreyas Mahangade <smahanga@redhat.com> | 2024-07-29 13:25:28 +0200 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2024-08-17 03:19:24 +0200 |
commit | 2f3010f4736b4b3f5c10a4be97a24e90ff04c5e7 (patch) | |
tree | 9423e1bf55900f93ae9e4c17b50379a1f672f063 /contrib | |
parent | more OPENSSL_HAS_ECC (diff) | |
download | openssh-2f3010f4736b4b3f5c10a4be97a24e90ff04c5e7.tar.xz openssh-2f3010f4736b4b3f5c10a4be97a24e90ff04c5e7.zip |
Show identity file in 'ssh' command
- Previously no identity file is shown in "ssh" command output on the line "Now try logging into the..."
- This commit makes sure whenever "ssh-copy-id" with "-i" is invoked, it also reflects in "ssh" command
SSH-Copy-ID-Upstream: 58e022ec26cb2315eb3be581d01e0ba787082428
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/ssh-copy-id | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/ssh-copy-id b/contrib/ssh-copy-id index da6bd18dd..7156dddb0 100644 --- a/contrib/ssh-copy-id +++ b/contrib/ssh-copy-id @@ -379,7 +379,7 @@ else Number of key(s) added: $ADDED - Now try logging into the machine, with: "${SFTP:-ssh}${SSH_PORT:+ -${PORT_OPT:-p} $SSH_PORT} ${OPTS_USER_HOST}" + Now try logging into the machine, with: "${SFTP:-ssh}${SSH_PORT:+ -${PORT_OPT:-p} $SSH_PORT}${SEEN_OPT_I:+-i $PRIV_ID_FILE} ${OPTS_USER_HOST}" and check to make sure that only the key(s) you wanted were added. EOF |