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


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

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.


🦛

Replies are listed 'Best First'.
Re^16: [OT] A New Everything ?
by soonix (Canon) on Sep 25, 2020 at 13:33 UTC
    🤦 Yes, I misread ssh-add as a local variant of ssh-copy-id