Penguin
Blame: ssh-copy-id(1)
EditPageHistoryDiffInfoLikePages
Annotated edit history of ssh-copy-id(1) version 5, including all changes. View license author blame.
Rev Author # Line
5 CraigBox 1
1 perry 2 !!NAME
3
5 CraigBox 4 ssh-copy-id - install your identity.pub in a remote machine's authorized_keys
1 perry 5
6 !!SYNOPSIS
7
5 CraigBox 8 __ssh-copy-id [[-i [[identity_file]]__ ''[[user@]machine''
1 perry 9
10 !!DESCRIPTION
11
5 CraigBox 12 __ssh-copy-id__ is a script that uses ssh to log into a remote machine (presumably using a login password, so password authentication should be enabled, unless you've
1 perry 13 done some clever use of multiple identities)
14
5 CraigBox 15 It also changes the permissions of the remote user's home, __~/.ssh__, and __~/.ssh/authorized_keys__ to remove group writability (which would otherwise prevent you from
16 logging in, if the remote __sshd__ has __!StrictModes__ set in its configuration).
1 perry 17
5 CraigBox 18 If the __-i__ option is given then the identity file (defaults to __~/.ssh/identity.pub__) is used, regardless of whether there are any keys in your __ssh-agent__.
1 perry 19 Otherwise, if this:
20
5 CraigBox 21 __ssh-add -L__
1 perry 22
5 CraigBox 23 provides any output, it uses that in preference to the identity file.
1 perry 24
25
5 CraigBox 26 If the __-i__ option is used, or the __ssh-add__ produced no output, then it uses the contents of the identity file. Once it has one or more fingerprints (by
27 whatever means) it uses ssh to append them to __~/.ssh/authorized_keys__ on the remote machine (creating the file, and directory, if necessary)
1 perry 28
29 !!SEE ALSO
30
5 CraigBox 31 ssh(1), ssh-agent(1), sshd(8)
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.

PHP Warning

lib/blame.php:177: Warning: Invalid argument supplied for foreach() (...repeated 3 times)