Changeset 78d9a95 for postlfs/security


Ignore:
Timestamp:
08/22/2014 03:40:22 PM (10 years ago)
Author:
Krejzi <krejzi@…>
Branches:
7.6-blfs, 7.6-systemd, kde5-14269, kde5-14686, systemd-13485
Children:
6283ab1
Parents:
d4d8219
Message:

Fix sed alignment, typo and remove empty line from lo instructions, merge trunk.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@13984 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/security/openssh-systemd.xml

    rd4d8219 r78d9a95  
    259259        <command>ssh-keygen</command> and then copy ~/.ssh/id_rsa.pub to
    260260        ~/.ssh/authorized_keys on the remote computer that you want to log into.
    261         You'll need to change REMOTE_HOSTNAME for the hostname of the remote
    262         computer and you'll also need to enter you password for the ssh command
     261        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
    263263        to succeed:
    264264      </para>
    265265
    266266<screen><userinput>ssh-keygen &amp;&amp;
    267 public_key="$(cat ~/.ssh/id_rsa.pub)" &amp;&amp;
    268 ssh REMOTE_HOSTNAME "echo ${public_key} &gt;&gt; ~/.ssh/authorized_keys" &amp;&amp;
    269 unset public_key</userinput></screen>
     267ssh-copy-id -i ~/.ssh/id_rsa.pub <replaceable>REMOTE_USERNAME</replaceable>@<replaceable>REMOTE_HOSTNAME</replaceable></userinput></screen>
    270268
    271269      <para>
Note: See TracChangeset for help on using the changeset viewer.