Regardless of whether you're logging from a Linux, Mac, or a Windows machine,
- add SSH keys to your account and
- copy the instance IP address, either from the confirmation email or from the IP address displayed in the My Instances list.
- Or if you want to use password authentication (not recommended but sometimes necessary) use the web shell and log in and type 'sudo passwd your_username'.
MacOS X & Unix/Linux
- For Mac OS X open a terminal window (from Finder, go to Applications, click
Utilities, and then double-click
For Linux, there are many terminal options, including xterm, konsole, or gnome-terminal.
- In the terminal window, enter the following command, using your XSEDE username and password, and the instance IP address:
- Press Enter.
A successful login will look similar to the following:
Windows using PuTTY
PuTTY is an SSH client for Windows. It operates a bit differently than Terminal to make the initial SSH connection. For a useful guide to using PuTTY, see PuTTY – Remote Terminal and SSH Connectivity.
- Download the PuTTY application.
- Launch PuTTY.
- The first time PuTTY is used for login, add your private key.
- Single click the "Default Settings" session to save your private key for all future sessions.
- Click on the + symbol next to the 'SSH' category on the left hand side.
- Click on the 'Auth' category to bring up the PuTTY Configuration screen (see screenshot below).
The key is set down at the bottom under 'Private key file for authentication'. Click on the Browse button next to the 'Private key file for authentication' field and locate your private key file on the file system. Select the file and press 'Ok'. (It is probably in your My Documents folder. )
- Click the 'Session' category from the left hand side.
- Make sure "Default Settings" is still selected.
- Enter the IP address, either copied from your My Instances list or from the confirmation email, and click
- Enter your XSEDE username when prompted for a login name and click
If your VM has a public IP address and you need to find that IP (and don’t have ready access to the Jetstream interface), you can use wget or curl from the command line to get your public IP:
*Note: http://169.254.169.254/latest/meta-data/public-ipv4 works even in conditions in which external DNS servers are not accessible.
Enter 'sudo su -' at the command prompt
type 'sudo command' and replace
|Content by Label|