ARCHIVED: Using SSH on Libra at IU
Note: UITS will retire Libra in spring 2009. Accounts are available on Quarry, a general-purpose Unix computing environment. For more, see ARCHIVED: About the Libra retirement.
On this page:
- Introduction
- SSH connections to Libra from your Unix workstation
- SSH connections to Libra in Windows
- SSH connections to Libra in Windows using the SSH Secure Shell client
- Intranode SSH connections on Libra
- Converting SSH Secure Shell Client public keys
Introduction
To connect to the Libra cluster from your Windows, Macintosh, or
Unix or Linux workstation, you will need to have an SSH version 2
client installed. For security reasons, telnet, rlogin,
and rsh are not permitted. See At IU, what SSH/SFTP clients are supported and where can I get them? Also,
OpenSSH source code is available
locally. (This site mirrors http://www.openssh.org/.)
Note: The following information is valid for OpenSSH Version 2 only.
SSH connections to Libra from your Unix workstation
- Launch your terminal application (e.g.,
xtermorrxvt).
- Enter
ssh -X username@libra.uits.iu.edu, whereusernameis your IU Network ID username.Note: The
-Xoption for SSH enables automatic X11 forwarding, so you can run X Window applications and have them display on your local workstation. - When prompted for a password, enter your Network ID passphrase.
SSH connections to Libra in Windows
Follow the instructions for your installed SSH client and use these settings:
- Host name:
libra.uits.iu.edu - Username: your IU Network ID username
- Password: your IU Network ID passphrase
SSH connections to Libra in Windows using the SSH Secure Shell client
The SSH Secure Shell client is no longer available for download from IUware. However, if you have already downloaded the client, you may continue to use it. Connect to Libra as follows:
- Double-click the SSH Secure Shell Client icon
(not the SSH Secure File Transfer Client
icon).
- In the SSH client window that appears, at the upper left, click
Quick Connect.
- In the dialog box that appears, enter the hostname
libra.uits.iu.eduand your Network ID username. ClickConnect.
- In the dialog box that appears, enter your Network ID passphrase and
click
OK.
You should then be connected to the Libra cluster and see the login banner and your shell prompt.
Intranode SSH connections on Libra
To use SSH to log in or execute remote commands from one Libra node to another, first log into any interactive Libra node and set up your SSH key by entering:
/opt/freeware/bin/ssh-keygen -b 1024 -t rsaThe public and private keys resulting from this command will be stored
in your ~/.ssh directory as id_rsa.pub and
id_rsa.
On Libra, SSH is configured to allow you to connect either by
supplying your system password or by using public key
authentication. Connection via .shosts files is disabled.
The following use of public key authentication makes connecting from host to host more convenient, but UITS does not recommend it, since it is less secure (anyone who gains access to your account on the host where both your private and public key are stored could then access the other hosts that use your public key authentication). To use public key authentication:
- Log into any interactive Libra node.
- Enter: cd ~/.ssh
- Enter: cat id_rsa.pub >> authorized_keys2
Converting SSH Secure Shell Client public keys
If you use public keys with the outdated SSH Secure Shell Client, you will need to convert your SSH.com public key to a format that the OpenSSH server on Libra supports:
- Using FTP, SFTP, or
scp, transfer your SSH.com public keyfile on your workstation to the.sshsubdirectory under your home directory on Libra. On Unix workstations, your SSH.com public key is located in your~/.ssh2directory with a filename ending in.pub.
- Log into any Libra node and use
cdto move to your.sshdirectory.
- Enter: /miscapps/openssh/bin/ssh-keygen -X -f yourfilename.pub > ssh.com.pubkey
- Enter: cat ssh.com.pubkey >> authorized_keys2
This will allow you to use the SSH Secure Shell Client on your workstation to connect to Libra nodes without having to supply a password.




