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 Terminal). 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 the instance IP address:
A successful login will look similar to the following:
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 Connect.
Enter your XSEDE username when prompted for a login name and click Enter.
From the VM command line, find the public IP assigned to your instance
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: