Quote:
Originally Posted by snoopy1
Could you alaborate on what this is doing and why it will solve the problem?
Cheers,
Andrew
|
Sure...to get passwordless logins working, you need to establish a 'trust' between the two systems.
The first command generates the dsa key (although I'd do rsa personally), and sends it to the remote machine, putting it in the correct user-file on the remote system.
The second assumes you've already generated the key, and just copies it over. Either way, the remote machine now has a 'key', from your local machine. Once they handshake, SSH recognizes that 'trust', and allows the user to connect, without a password, since he's 'recognized' by the key.
Also, pretty slick command-line BrianK...nice command-chaining.
