Hello Sandor, At my work place I have several machines which perfrom automated rsync's over ssh each evening. To prevent the need to enter passwords, do this: At the shell type "ssh-keygen -t dsa -b 2048" You will be prompted to enter files names for the public and private keys -- just accept the default values. You will also be prompted for a "passphrase" -- simply press enter. You will then see something like - The key fingerprint is: f1:8d:f0:13:47:b2:2a:d6:15:e9:0b:8c:4c:f7:9f:36 name@host You will now have a hidden directory named '.ssh'; under this directory you will see a file namded "id_dsa.pub". This is your public key. You must now copy the contects of id_dsa.pub to the remote machine you want to access -- put the contents into a file named: your_home_directory/.ssh/authorized_keys Now, try logging in once manually -- you will be prompted if you want to add the machine to your known hosts - answer yes, and you will be logged in. Log out, and try logging in again and you should automagically be logged into the remote system without entering a password. Hope this helps, Dominic On Wed, 2004-05-05 at 10:16, Sandor wrote:
Hi,
I would need some advice on a simple problem:
I ahave two machines running SUSE 9.0. I want to log in to one system, but run some shell scripts on the other one. So far, I used to SSH to the remote machine, start the script and that's it.
The only inconvenience is that SSH always ask for my password. I have the same user name, same password on both machines. I read in the SSH man page that it can bypass the second login putting the machine name into /etc/hosts.equiv, but it does not seems to work. (It also said that this method is switched off for security reasons)
I was reading the SSH documentation for an hour but still could not bypass the second password requirement...
Call me lazy, but after that I decided to give up and ask someone... :-))) I assume, the solution is easy if someone knows how to do it!
I would appreciate if someone could give me a hand!
Thank you!
Sandor Laza