Tool

jmeldrum's picture
tool
Reads:

8765

Score:
2.5
2.5
6
 
Comments:

0

ssh-keygen: password-less SSH login script

(View Disclaimer)

license: 
GPLv2

This utility uses ssh-keygen and ssh_copy_id to create RSA private/public key pairs for use by SSH protocol version 1 and RSA or DSA keys for use by SSH protocol version 2. The public key is then copied onto a remote system. You can now SSH to the remote system without the use of a password from the specified machine.

If the file /etc/root/.ssh/authorized_keys exists on the destination system, you probably already have it setup.

For more information see the man pages for ssh-keygen and ssh_copy_id.

Installation Instructions:

  1. Download trusted-key-exchange-1.3.tgz
  2. Open a Terminal window and type “su”
  3. Enter root’s password
  4. Extract the script from the tarball
    #tar –xzvf trusted-key-exchange-1.3.tgz
  5. Make the script executable.
    #chmod 755 trusted-key-exchange-1.3.sh
  6. Create the shared keys between two Linux systems
    #./trusted-key-exchange-1.3.sh -c
  7. Now ssh to the Linux system and it will not prompt you for the password.

Fixed in the 1.1 version:

  1. The script will now allow you to have trusted hosts setup between multiple systems. It now supports a one to many relationship.
  2. The prompts necessary during the script have been reduced.
Note: Using a –h will display other parameter options such as how to automatically delete the key that was just created.
AttachmentSize
trusted-key-exchange-1.3.tgz2.1 KB

Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.




User Comments

© 2013 Novell