non è più possibile aggiungere una chiave per riga nei file .pub
come suggerito da igorw. L'ho provato e ho ricevuto il seguente messaggio.
WARNING: a pubkey file can only have one line (key); ignoring kent.pub
Perhaps you're using a key in a different format (like putty/plink)?
If so, please convert it to openssh format using 'ssh-keygen -i'.
If you want to add multiple public keys for a single user, use
"[email protected]" file names. See the "one user, many keys"
section in doc/3-faq-tips-etc.mkd for details.
Ho provato la soluzione suggerita, che era quello di creare un nuovo file pub con il nome <user>@<host>.pub
e ha funzionato bene.
fonte
2011-12-01 09:31:21
Questo funzionerà ma dal punto di vista della sicurezza non è una buona idea condividere le chiavi private tra le macchine. –