On Monday 26 June 2006 10:25, Silviu Marin-Caea wrote: > As vrea o comanda de o linie care sa ia un fisier de pe masina locala si > sa-l apendeze la un fisier pe alta masina, prin retea, cu ssh/scp. > > Practic vreau sa apendez .ssh/id_dsa.pub la > [EMAIL PROTECTED]/.ssh/authorized_keys, optim (cat mai scurt). > > Ex: > > scp .ssh/id_dsa.pub remote:.ssh/key.temp; ssh remote "cat .ssh/key.temp > > >> .ssh/authorized_keys; rm .ssh/key.temp" > > Asa merge, dar am impresia ca se poate si mai bine, cu niste pipe-uri, > ceva.
ssh < ssh/id_dsa.pub remote "cat >> .ssh/authorized_keys" -- George-Cristian Bîrzan _______________________________________________ RLUG mailing list [email protected] http://lists.lug.ro/mailman/listinfo/rlug
