Hi, On Tue, 1 Nov 2005 16:44:52 -0500 "Marlier, Ian" <.> wrote:
Key Exchange authentication is probably what you're looking for. Basically, allows a user on serverA to be trusted to authenticate as a certain user on serverB.
The steps, briefly:
1) serverA: `ssh-keygen -t dsa` and hit enter a couple of times to save the key, with the default file names and etc, to ~/.ssh/
2) serverA: `scp ~/.ssh/id_dsa.pub destinationuser@serverB`
3) serverB: `cat ~/id_dsa.pub >> .ssh/authorized_keys2`
4) serverA: `ssh destinationuser@serverB` and watch the connection happen without requesting a password.
Thanks a lot for the info; your answer not only solved my scp-related problems, but the easily understandable language let me (and also pro- bably others) _learn_. For this later special thanks:) Now just few short additional questions please: 1) What would happen, if I define a pass-phrase? Would that be the 'password', which would allow me to log in instead the user's pass- word? 2) I have now Comp-A ~/.ssh/id_dsa ~/.ssh/id_dsa.pub Comp-B (~/id_dsa.pub) -> guessing that this is now removable. ~/.ssh/authorized_keys2 I guess in the future I will need all of the above three files in order to have communication between these machines in _one_ direction, by a single user. Right? 3) I have all of my ssh_config and sshd_config-s modified, that exclu- sively ssh2 should be used, so do I still need the 2 at the end of the above filename? Or was that please just a typo? In fact both ways (authorized_keys and authorized_keys2) work, that's why I'm asking. Thanks, Pelibali