12. SSH and DSH

We need DSH to manage the machines. For this we need SSH set up "passwordless", i.e., we want key-based authentication, preferrably with passphrase, which can be presented via the ssh-agent.

12.1. SSH Config

For OpenSSH_3.5p1...

Ok, I can login via with SSH via the password authentication method; I have an entry in ~.ssh/known_hosts.

  1. Setup the private and public rsa keys:
            ssh-keygen -b 1024 -t rsa
        
    with suitable pass-phrase to go with the keys.
  2. Copy the contents of id_rsa.pub to ~/.ssh/authorized_keys on the remote host
Can now authenticate to the local machine by entering my key-related pass-phrase, rather than your password:
  ssh <remote.machine> -l simonh
  Enter passphrase for key '/home/si2/.ssh/id_rsa': 
  remote>  

Finally, set up the SSH Agent

  local> eval `ssh-agent`
  Agent pid...
  loca> ssh-add 
Now I can login "password-free".

12.2. DSH

/usr/local/dsh/node_groups/ALL:

  # ---------------------------------------------------------------------------
  # -- row next to corridor, starting near door :

  ##130.88.149.97 --- dsh master, nearest door :

  130.88.149.98
  130.88.149.99
  130.88.149.100
  130.88.149.101
  130.88.149.102

  # ---------------------------------------------------------------------------
  # -- row...


  # ---------------------------------------------------------------------------
  # -- row...


  # ---------------------------------------------------------------------------
  # -- row...


  # ---------------------------------------------------------------------------
  # -- The End.
  # ---------------------------------------------------------------------------

...previousup (conts)next...



About this document:

Produced from the SGML: /home/isd/public_html/_gbtc/_reml_grp/index.reml
On: 16/9/2003 at 13:25:38
Options: reml2 -i noindex -l long -o html -p multiple