diff options
author | Colin Watson <cjwatson@debian.org> | 2007-07-17 09:45:13 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2007-07-17 09:45:13 +0000 |
commit | 2273c301778d605624f170df4e8d05c8dcc38553 (patch) | |
tree | 5e0b4a5d16bd0c58e2b45719f2410bb9cab56eca /contrib/ssh-copy-id | |
parent | 1fa67efd2da9b8332f6a62e253d046130692085e (diff) |
* ssh-copy-id defaults to ~/.ssh/id_rsa.pub rather than
~/.ssh/identity.pub, in line with ssh-keygen (thanks, Greg Norris;
closes: #234627).
Diffstat (limited to 'contrib/ssh-copy-id')
-rw-r--r-- | contrib/ssh-copy-id | 4 |
1 files changed, 2 insertions, 2 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 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | # Shell script to install your identity.pub on a remote machine | 3 | # Shell script to install your public key on a remote machine |
4 | # Takes the remote machine name as an argument. | 4 | # Takes the remote machine name as an argument. |
5 | # Obviously, the remote machine must accept password authentication, | 5 | # Obviously, the remote machine must accept password authentication, |
6 | # or one of the other keys in your ssh-agent, for this to work. | 6 | # or one of the other keys in your ssh-agent, for this to work. |
7 | 7 | ||
8 | ID_FILE="${HOME}/.ssh/identity.pub" | 8 | ID_FILE="${HOME}/.ssh/id_rsa.pub" |
9 | 9 | ||
10 | if [ "-i" = "$1" ]; then | 10 | if [ "-i" = "$1" ]; then |
11 | shift | 11 | shift |