Re: [d-ts] Fwd: Remote Mathematica kernels and SSH password
- To: mathgroup at smc.vnet.net
- Subject: [mg63177] Re: [d-ts] Fwd: [mg63081] Remote Mathematica kernels and SSH password
- From: Renan <renan.birck at gmail.com>
- Date: Fri, 16 Dec 2005 07:22:43 -0500 (EST)
- References: <f6eb52ae8b932539aa6aa253370e4e71@wolfram.com> <43A03CEF.90005@wolfram.com>
- Sender: owner-wri-mathgroup at wolfram.com
On 12/14/05, Onkar Singh <onkars at wolfram.com> wrote: > You can set the ssh-key based authentication using ssh-keygen. I am not > sure what OS you are running your two systems - the step by step details > differ a bit based on the OS. > > In general, you have to set up the key based authentication by running > ssh-keygen on the machine that will have the Front End. In Linux, this > is available in all distributions and you can issue $ssh-keygen at the > command prompt. Otherwise, you may also use WolframSSHKeyGen.jar under > <Mathematica Install Directory>/SystemFiles/Java. > > 1. In Key Type: type rsa and click OK. > 2. In Length of Key: type 1024 and click OK. > 3. In Key File Name: type id_rsa and click OK. > 4. In Key Passphrase: just leave it blank and click OK. > > This will generate two files: id_rsa and id_rsa.pub > 5. Move the id_rsa file and move it into > C:\Documents and Settings\username\.ssh\ (if it is a Windows machine) or > into $HOME/.ssh (if it is a Linux OS). > 6. Transfer the file id_rsa.pub into your Remote machine > > II. On the Remote machine: > 1. Create a directory .ssh in your $HOME (if it is not already there). > (or C:\Documents and Settings\username\.ssh\) > 2. Create a file called authorized_keys and copy the contents of id_rsa.pub > into this file. > > This is all the setup we need for the password-less authentication. If This worked. Thanks! -- Thanks/obrigado, Renan "Wishmaster" Birck - Canoas, Rio Grande do Sul, Brasil MSN: wizard_of_yendor at hotmail.com Orkut: http://www.orkut.com/Profile.aspx?uid=2202360379963855296