http://www.perlmonks.org?node_id=11122198


in reply to Re^13: [OT] A New Everything ?
in thread [OT] A New Everything ?

better >> than > to avoid clobbering. Alternatively ssh-add might be available.

Replies are listed 'Best First'.
Re^15: [OT] A New Everything ?
by hippo (Chancellor) on Sep 25, 2020 at 12:32 UTC
    better >> than > to avoid clobbering.

    Ordinarily yes. In this case however, the file is apparently full of nonsense so clobbering is actually more desirable.

    Alternatively ssh-add might be available.

    ssh-add has no effect on the contents of the authorized_keys file. It is only useful for adding local keys to a local agent.


    🦛

      🤦 Yes, I misread ssh-add as a local variant of ssh-copy-id