- (dtucker) [contrib/ssh-copy-ud.1] Bug #1786: update ssh-copy-id.1 with more
details about its behaviour WRT existing directories. Patch from asguthrie at gmail com, ok djm.
This commit is contained in:
parent
bad5e03bfd
commit
12b29dbd8a
|
@ -1,3 +1,8 @@
|
||||||
|
20100919
|
||||||
|
- (dtucker) [contrib/ssh-copy-ud.1] Bug #1786: update ssh-copy-id.1 with more
|
||||||
|
details about its behaviour WRT existing directories. Patch from
|
||||||
|
asguthrie at gmail com, ok djm.
|
||||||
|
|
||||||
20100716
|
20100716
|
||||||
- (djm) OpenBSD CVS Sync
|
- (djm) OpenBSD CVS Sync
|
||||||
- djm@cvs.openbsd.org 2010/07/02 04:32:44
|
- djm@cvs.openbsd.org 2010/07/02 04:32:44
|
||||||
|
|
|
@ -25,19 +25,10 @@ ssh-copy-id \- install your public key in a remote machine's authorized_keys
|
||||||
.br
|
.br
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.BR ssh-copy-id
|
.BR ssh-copy-id
|
||||||
is a script that uses ssh to log into a remote machine (presumably
|
is a script that uses ssh to log into a remote machine and
|
||||||
using a login password, so password authentication should be enabled,
|
append the indicated identity file to that machine's
|
||||||
unless you've done some clever use of multiple identities)
|
|
||||||
.PP
|
|
||||||
It also changes the permissions of the remote user's home,
|
|
||||||
.BR ~/.ssh ,
|
|
||||||
and
|
|
||||||
.B ~/.ssh/authorized_keys
|
.B ~/.ssh/authorized_keys
|
||||||
to remove group writability (which would otherwise prevent you from logging in, if the remote
|
file.
|
||||||
.B sshd
|
|
||||||
has
|
|
||||||
.B StrictModes
|
|
||||||
set in its configuration).
|
|
||||||
.PP
|
.PP
|
||||||
If the
|
If the
|
||||||
.B -i
|
.B -i
|
||||||
|
@ -59,7 +50,24 @@ produced no output, then it uses the contents of the identity
|
||||||
file. Once it has one or more fingerprints (by whatever means) it
|
file. Once it has one or more fingerprints (by whatever means) it
|
||||||
uses ssh to append them to
|
uses ssh to append them to
|
||||||
.B ~/.ssh/authorized_keys
|
.B ~/.ssh/authorized_keys
|
||||||
on the remote machine (creating the file, and directory, if necessary)
|
on the remote machine (creating the file, and directory, if necessary.)
|
||||||
|
|
||||||
|
.SH NOTES
|
||||||
|
This program does not modify the permissions of any
|
||||||
|
pre-existing files or directories. Therefore, if the remote
|
||||||
|
.B sshd
|
||||||
|
has
|
||||||
|
.B StrictModes
|
||||||
|
set in its
|
||||||
|
configuration, then the user's home,
|
||||||
|
.B ~/.ssh
|
||||||
|
folder, and
|
||||||
|
.B ~/.ssh/authorized_keys
|
||||||
|
file may need to have group writability disabled manually, e.g. via
|
||||||
|
|
||||||
|
.B " chmod go-w ~ ~/.ssh ~/.ssh/authorized_keys"
|
||||||
|
|
||||||
|
on the remote machine.
|
||||||
|
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
.BR ssh (1),
|
.BR ssh (1),
|
||||||
|
|
Loading…
Reference in New Issue