Changeset 78d9a95 for postlfs/security
- Timestamp:
- 08/22/2014 03:40:22 PM (10 years ago)
- Branches:
- 7.6-blfs, 7.6-systemd, kde5-14269, kde5-14686, systemd-13485
- Children:
- 6283ab1
- Parents:
- d4d8219
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
postlfs/security/openssh-systemd.xml
rd4d8219 r78d9a95 259 259 <command>ssh-keygen</command> and then copy ~/.ssh/id_rsa.pub to 260 260 ~/.ssh/authorized_keys on the remote computer that you want to log into. 261 You'll need to change REMOTE_ HOSTNAME for thehostname of the remote262 computer and you'll also need to enter you password for the sshcommand261 You'll need to change REMOTE_USERNAME and REMOTE_HOSTNAME for the username and hostname of the remote 262 computer and you'll also need to enter your password for the ssh-copy-id command 263 263 to succeed: 264 264 </para> 265 265 266 266 <screen><userinput>ssh-keygen && 267 public_key="$(cat ~/.ssh/id_rsa.pub)" && 268 ssh REMOTE_HOSTNAME "echo ${public_key} >> ~/.ssh/authorized_keys" && 269 unset public_key</userinput></screen> 267 ssh-copy-id -i ~/.ssh/id_rsa.pub <replaceable>REMOTE_USERNAME</replaceable>@<replaceable>REMOTE_HOSTNAME</replaceable></userinput></screen> 270 268 271 269 <para>
Note:
See TracChangeset
for help on using the changeset viewer.