Women in Technology

Hear us Roar



Article:
  Inside SSH, Part 2
Subject:   pub key addition to authorized_keys file
Date:   2004-07-16 05:30:28
From:   Ronald_Rood
Instead of copying the pub key to the authorized_keys file, it could be a little smarter to add the pub key to the file:
ssh remote_server < .ssh/id_dsa.pub 'cat >> .ssh/authorized_keys'


This does not throw away existing keys ...
Ronald.
---------------------------------
oracle on macosX

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • FJ de Kermadec photo pub key addition to authorized_keys file
    2004-07-16 10:37:45  FJ de Kermadec | O'Reilly Blogger [View]

    Hi !

    Thank you very much for taking the time to send your feedback, I really do appreciate it :-)

    Since this article is meant as an introduction to SSH, the commands indeed assume that this is the first time that keys are uploaded to the server.

    F.J.