On Mon, 2005-06-06 at 13:59 +0300, Liviu Daia wrote: > lonely wolf <[EMAIL PROTECTED]> scria la data de 6 Iunie 2005: > > George Razvan NICA wrote: > [...] > > >2) luat cu copy-paste rezultatul de mai sus si pus in > > >/root/.ssh/authorized_keys pe masina remote > > > > > > > > > > > scp /root/.ssh/id_dsa.pub > > [EMAIL PROTECTED]:/root/.ssh/authorized_keys > > e mai safe, inclusiv fiindca e independen de terminal si nu risti sa > > pierzi sau sa adaugi vreun caracter > [...] > > Iar asta e si mai safe, poentru ca nu risti nici sa stergi un > authorized_keys existent, nici sa creezi authorized_keys cu alte > permisiuni decat trebuie: > > cat /root/.ssh/*.pub | ssh [EMAIL PROTECTED] 'umask 077; cat > >>.ssh/authorized_keys' > > Salutari, > > Liviu Daia
un fel de ssh-copy-id reinventat the l33t way :) --- Detalii despre listele noastre de mail: http://www.lug.ro/
