Hello ! I wish to make a backup script for copy some files from one server to other via scp ... Supouse I have 2 servers named server1 and server2 . -server1: ssh-keygen -t rsa I put empty password scp id_rsa.pub root@server2:~root/.ssh/know_hosts2 -server2: when I wish to run : ssh server1 server1 ask me for password ... Where I can find a good explanation for this stuff ? Thank You ! -- Powered by SuSE Linux 7.3 Professional Kernel Version: 2.4.16-4GB Current Linux Uptime: 9 days 3 hours 23 minutes 5 users Load Average: 0.12,0.04,0.01
* Negrisan Laurentiu
Hello ! I wish to make a backup script for copy some files from one server to other via scp ... Supouse I have 2 servers named server1 and server2 .
-server1:
ssh-keygen -t rsa I put empty password scp id_rsa.pub root@server2:~root/.ssh/know_hosts2
-server2:
when I wish to run : ssh server1 server1 ask me for password ...
Where I can find a good explanation for this stuff ? Thank You !
-- Powered by SuSE Linux 7.3 Professional
Are you sure you're using protocol 2? -- Mads Martin Jørgensen, http://mmj.dk "Why make things difficult, when it is possible to make them cryptic and totally illogic, with just a little bit more effort?" -- A. P. J.
On Fri, May 03, 2002 at 01:39:03PM +0300, Negrisan Laurentiu wrote:
Hello ! I wish to make a backup script for copy some files from one server to other via scp ... Supouse I have 2 servers named server1 and server2 .
-server1:
ssh-keygen -t rsa I put empty password scp id_rsa.pub root@server2:~root/.ssh/know_hosts2
-server2:
when I wish to run : ssh server1 server1 ask me for password ...
Make a key on server2. Copy the id_rsa.pub file to server1 and append it to the ~/.ssh/authorized_keys2 file. Then you just need to run an ssh agent on server2. You will only need to enter your passphrase once when you start the agent, and then it will handle authentication for you. You could also create a key without a passphrase, and do the things above. Then you wouldn't need an agent. Victor
I am running SuSE 7.3 and i wanted to see if anyone knew how to customize the Frame Buffer graphics in lilo and during the boot sequence. any idea where this gfx file is located? thanks Jason
I think they're in /usr/share/splash Look also at /sbin/mk_initrd, which, as I recall, sets up the splash for you/ JDL jason vinson wrote:
I am running SuSE 7.3 and i wanted to see if anyone knew how to customize the Frame Buffer graphics in lilo and during the boot sequence. any idea where this gfx file is located?
thanks Jason
the public key needs to be placed in the .ssh/authorized_keys2. the rights for this file should be rw only for owner. also, check your log file for errors. Negrisan Laurentiu wrote:
Hello ! I wish to make a backup script for copy some files from one server to other via scp ... Supouse I have 2 servers named server1 and server2 .
-server1:
ssh-keygen -t rsa I put empty password scp id_rsa.pub root@server2:~root/.ssh/know_hosts2
-server2:
when I wish to run : ssh server1 server1 ask me for password ...
Where I can find a good explanation for this stuff ? Thank You !
participants (6)
-
jason vinson
-
John Lamb
-
Mads Martin Jørgensen
-
Negrisan Laurentiu
-
Radu Alexa
-
Victor R. Cardona