View | Details | Raw Unified | Return to bug 1786
Collapse All | Expand All

(-)ssh-copy-id.1.orig (-13 / +21 lines)
Lines 25-43 Link Here
25
.br
25
.br
26
.SH DESCRIPTION
26
.SH DESCRIPTION
27
.BR ssh-copy-id
27
.BR ssh-copy-id
28
is a script that uses ssh to log into a remote machine (presumably
28
is a script that uses ssh to log into a remote machine and
29
using a login password, so password authentication should be enabled,
29
append the indicated identity file to that machine's
30
unless you've done some clever use of multiple identities)
31
.PP
32
It also changes the permissions of the remote user's home,
33
.BR ~/.ssh ,
34
and
35
.B ~/.ssh/authorized_keys
30
.B ~/.ssh/authorized_keys
36
to remove group writability (which would otherwise prevent you from logging in, if the remote
31
file.
37
.B sshd
38
has
39
.B StrictModes
40
set in its configuration).
41
.PP
32
.PP
42
If the
33
If the
43
.B -i
34
.B -i
Lines 59-65 Link Here
59
file.  Once it has one or more fingerprints (by whatever means) it
50
file.  Once it has one or more fingerprints (by whatever means) it
60
uses ssh to append them to
51
uses ssh to append them to
61
.B ~/.ssh/authorized_keys
52
.B ~/.ssh/authorized_keys
62
on the remote machine (creating the file, and directory, if necessary)
53
on the remote machine (creating the file, and directory, if necessary.)
54
55
.SH NOTES
56
This program does not modify the permissions of any
57
pre-existing files or directories. Therefore, if the remote
58
.B sshd
59
has
60
.B StrictModes
61
set in its
62
configuration, then the user's home,
63
.B ~/.ssh
64
folder, and
65
.B ~/.ssh/authorized_keys
66
file may need to have group writability disabled manually, e.g. via
67
68
.B "      chmod go-w ~ ~/.ssh ~/.ssh/authorized_keys"
69
70
on the remote machine.
63
71
64
.SH "SEE ALSO"
72
.SH "SEE ALSO"
65
.BR ssh (1),
73
.BR ssh (1),

Return to bug 1786