OK, this is the problem. I have 2 machines TestA ( Suse 9.0 ) TestB ( Mandrake 10 ) and one of our guys wants to scp from TestA to TestB without the password prompt appearing. Sounds simple so far....
Ok, I haven't used ssh-keygen before, so I create identical logins to test what I'm doing...
TestA ~user/.ssh > ssh-keygen -t dsa -f ./id_dsa
( Hit enter to set blank password )
TestA ~user/.ssh > scp id_dsa.pub
user@TestA:~/.ssh ( use password )
TestB ~user/.ssh > cd ~user/.ssh
TestB ~user/.ssh > mv id_dsa.pub authorized_keys2
TestB ~user/.ssh > rm id_dsa.pub
It now works fine for the test logins, but when I try to apply this to the guy upstairs logins it still asks for the passwords....
I assume it must be down to some kind of difference in the logins but I can't really find any...
Any ideas ????