[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ~/.ssh/authorized_keys per Kommando bearbeiten



Moin, 

On Thu, Mar 07, 2013 at 12:13:36PM +0100, Matthias Böttcher wrote:
> gibt es eine Möglichkeit, die Einträge in ~/.ssh/authorized_keys mit
> einem Kommando zu bearbeiten, also hinzufügen bzw. löschen von
> Schlüsseln?

Ich benutze `ssh-keygen -R` zum Entfernen und `ssh-copy-id user@host`
zum Hinzufügen. Ob letzteres auch mit localhost funktioniert, keine
Ahnung, erfodert dann aber vermutlich die Eingabe eines Passwortes.

Gruß
Alex

-- 
»With the first link, the chain is forged. The first speech censured, 
the first thought forbidden, the first freedom denied, chains us all 
irrevocably.« (Jean-Luc Picard, quoting Judge Aaron Satie)
*** GnuPG-FP: 02C8 A590 7FE5 CA5F 3601  D1D5 8FBA 7744 CC87 10D0 ***

Attachment: pgp0mrLt_Pisx.pgp
Description: PGP signature


Reply to: