ATTENTION - THIS WIKI PAGE IS NO LONGER UPDATED - PLEASE GO TO [[http://aerocom.met.no/|aerocom.met.no]]FOR LATEST INFO ===== How to get access to the aerocom user server using Windows (7) ===== The recommended and described tools are: - putty ([[http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html|install package]] or [[http://portableapps.com/apps/internet/putty_portable|portable]]). The latter does not need to be installed and does not need administrative rights therefore. - winscp [[https://winscp.net/eng/index.php|install package]] or [[http://portableapps.com/apps/internet/winscp_portable|portable]]). The latter does not need to be installed and does not need administrative rights therefore. For a howto for the installation, please look at the linked pages. ===== Step by step howto ===== ==== install the programs ==== please refer to the linked pages for that ==== generate a ssh public key ==== === 1. start puttygen === - open the start meny - type puttygen - double click //puttygen// {{:aerocom:Screenshot.Windows.select.puttygen.png?400|}} === 2. generate a key === - click the button //generate// - follow the instructions (you have tp create some randomness with mouse movements) {{:aerocom:Screenshot.puttygen.generate.png?400|}} === 3. set a passphrase === - click into the input box labeled //Key passphrase// and type passphrase - click into the input box labeled //Confirm passphrase// and type the passphrase again {{:aerocom:Screenshot.puttygen.Set.Passphrase.cropped.png?400|}} === 4. export the openssh version of the public key === - click into the box labelled //Public key for pasting into OpenSSH authorized_keys file// \\ - right click and select //select all// - press control-C - paste this into an email to jan.griesfeller@met.no or annac@met.no (or put this into a file that you attach) - you are ready to connect to aerocom-users.met.no as soon as your public key is activated by met.no {{:aerocom:Screenshot.puttygen.select.OpenSSH.key.cropped.png?400|}} === 5. export private key === You have to export the private key so that it can be used with putty or WinSCP. Private key files have the file extension ppk with putty. Do this by clicking the button //Export private key// and store that at a place so that you will find it. You have to tell putty or WinSCP to use this key.\\ {{:aerocom:Screenshot.puttygen.save.private.key.cropped.png?400|}} === 6. connect to aerocom-users.met.no with putty === - start putty - set the host name to connect to to aerocom-users.met.no\\ {{:aerocom:Screenshot.putty.session.cropped.png?400|}} - on the left hand side there is a box called //Category// - open the //Connection->SSH// part of it - click //Auth//\\ {{:aerocom:Screenshot.putty.click.SSH.section.cropped.png?400|}} - on the right hand side of the window you have to select the private key file to for the connection. Click the //Browse// button to do so selecting the just saved **private** key.\\ {{:aerocom:Screenshot.putty.browse.private.key.cropped.png?400|}} - press the button //Open// - your user name is your email address e.g. mail@foo.bar - putty will ask you for the passphrase of the key - You should be connected to aerocom-users.met.no and see the terminal window. ==== Tell WinSCP to use the just generated private key ==== In order to connect with WinSCP to aerocom-users.met.no, WinSCP has to use public key authentication. This means that it has to use the same private key as putty to connect to aerocom-users.met.no. Here's a basic howto. - Start Winscp. You should see a similar Desktop as the following picture:\\ {{:aerocom:Screenshot.WinSCP.Start.png?400|}} - fill out the field //Host name// with //aerocom-users.met.no// - fill out the field //User name// with your user name (usually your email address)\\ {{:aerocom:Screenshot.WinSCP.Login.window.cropped.png?400|}} - press the button //Advanced// to get to the window where you can tell WinSCP to use your private key for connection. the following window appears: \\ {{:aerocom:Screenshot.WinSCP.Advanced.Site.Settings.cropped.png?400|}} - at the box at the left hand side click on //SSH->Authentication// - click on the three dots in the right hand side part of the window to select the private key file \\ {{:aerocom:Screenshot.WinSCP.Select.private.key.cropped.png?400|}} - press the button labelled //OK//. You are at the Login window again. - press the button labelled //Login// - Say //yes// if you are asked to accept the host key - type in your key's passphrase at the appearing Window If everything went well, you will see your home directory on aerocom-users.met.no on the right hand side of the WinSCP window.