Use PuTTY to connect to Sitehost
On this page:
Use PuTTY to connect to
To log into your account using the PuTTY Secure Shell (SSH) client:
- Open the PuTTY client.
- In the "Host Name (or IP address)" field, enter the hostname for the server to which you want to connect:
- Production :
ssh.sitehost.iu.edu
- Test :
ssh.sitehost-test.iu.edu
- Production :
- Click .
- To retain your settings, under "Saved Sessions", enter a session name and click .
- Enter the following:
- Login as: Enter your IU username and press
Enter
. - Password: Enter your IU passphrase and press
Enter
.Note:The passphrase will appear blank while you are typing to prevent your passphrase from being visible.
- Login as: Enter your IU username and press
- When prompted, authenticate via Two-Step Login (Duo).
- You will be at the command prompt. To switch to the account you wish to access, enter:
become <account>
Replace
<account>
with the group username of the account you wish to update. - When prompted with "[sudo] password for <your personal username>", sign in with your personal IU passphrase.
- You will be at the command prompt in the directory
/groups/<account>/
, where<account>
is the account you chose to "become". - To exit a group account, you may use the command
exit
. To switch to a different group account, use the commandbecome
as you did in step 7.
Note:
For information about Unix commands, see Introduction to Unix commands.
Use SSH keys to connect to via PuTTY
To log into your account using SSH keys via the PuTTY client:
- Open the PuTTY client.
- In the "Host Name (or IP address)" field, enter the hostname for the server to which you want to connect:
- Production :
ssh.sitehost.iu.edu
- Test :
ssh.sitehost-test.iu.edu
- Production :
- In the menu on the left, navigate to and click (the plus sign) for SSH.
- Click directly on .
- In the "Authentication parameters" section, next to the "Private key for authentication:" field, click .
- Locate the file storing your private SSH key and click .
- To retain your settings, in the menu on the left, select . Then, under "Saved Sessions", enter a session name and click .
- Click to log into the server with your SSH key pair.
- The PuTTY client will open and you will get a "login as:" prompt. Enter your personal IU username.
- At the PuTTY client prompt, enter the passphrase for your private key.
- When prompted, authenticate via Two-Step Login (Duo).
- At the command prompt, to switch to the account you wish to access, enter:
become <account>
Replace
<account>
with the group username of the account you wish to use. - At the "[sudo] password for <your personal username>" prompt, enter your personal IU passphrase. You'll be taken to a command prompt in the directory
/groups/<account>/
, where<account>
is the account you chose in step 12. - To exit a group account, use the command
exit
. To switch to a different group account, use the commandbecome
as you did in step 12.
This is document aydt in the Knowledge Base.
Last modified on 2023-07-11 11:12:54.