📄 ssh-copy-id.1
字号:
.ig \" -*- nroff -*-Copyright (c) 1999 Philip Hands Computing <http://www.hands.com/>Permission is granted to make and distribute verbatim copies ofthis manual provided the copyright notice and this permission noticeare preserved on all copies.Permission is granted to copy and distribute modified versions of thismanual under the conditions for verbatim copying, provided that theentire resulting derived work is distributed under the terms of apermission notice identical to this one.Permission is granted to copy and distribute translations of thismanual into another language, under the above conditions for modifiedversions, except that this permission notice may be included intranslations approved by the Free Software Foundation instead of inthe original English....TH SSH-COPY-ID 1 "14 November 1999" "OpenSSH".SH NAMEssh-copy-id \- install your identity.pub in a remote machine's authorized_keys.SH SYNOPSIS.B ssh-copy-id [-i [identity_file]].I "[user@]machine".br.SH DESCRIPTION.BR ssh-copy-idis a script that uses ssh to log into a remote machine (presumablyusing a login password, so password authentication should be enabled,unless you've done some clever use of multiple identities).PPIt also changes the permissions of the remote user's home,.BR ~/.ssh ,and.B ~/.ssh/authorized_keysto remove group writability (which would otherwise prevent you from logging in, if the remote.B sshdhas.B StrictModesset in its configuration)..PPIf the.B -ioption is given then the identity file (defaults to.BR ~/.ssh/identity.pub )is used, regardless of whether there are any keys in your.BR ssh-agent .Otherwise, if this:.PP.B " ssh-add -L".PPprovides any output, it uses that in preference to the identity file..PPIf the.B -ioption is used, or the.B ssh-addproduced no output, then it uses the contents of the identityfile. Once it has one or more fingerprints (by whatever means) ituses ssh to append them to.B ~/.ssh/authorized_keyson the remote machine (creating the file, and directory, if necessary).SH "SEE ALSO".BR ssh (1),.BR ssh-agent (1),.BR sshd (8)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -