Difference between revisions of "HPC:Login"
Line 16: | Line 16: | ||
==== Temporary Password Change ==== | ==== Temporary Password Change ==== | ||
All PMACS accounts are provisioned with a temporary password. Before you can log into the PMACS cluster for the first time, you will need to change this temporary password. Change of the temporary password and enrollment into the PMACS password reset system can be done [https://reset.pmacs.upenn.edu here] | All PMACS accounts are provisioned with a temporary password. Before you can log into the PMACS cluster for the first time, you will need to change this temporary password. Change of the temporary password and enrollment into the PMACS password reset system can be done [https://reset.pmacs.upenn.edu here] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==== Enrollment into the PMACS Password Reset system ==== | ==== Enrollment into the PMACS Password Reset system ==== | ||
− | All PMACS account passwords are set to expire every 180 days. To avoid your password from expiring and possibly preventing access to the PMACS cluster, all cluster users are encouraged to enroll into the reset system. | + | All PMACS account passwords are set to '''expire every 180 days.''' To avoid your password from expiring and possibly preventing access to the PMACS cluster, all cluster users are encouraged to enroll into the reset system. |
The password reset application can be access [https://reset.pmacs.upenn.edu here]. Once enrolled, this system will also allow you to recover forgotten PMACS passwords and reset known/expired PMACS passwords. | The password reset application can be access [https://reset.pmacs.upenn.edu here]. Once enrolled, this system will also allow you to recover forgotten PMACS passwords and reset known/expired PMACS passwords. | ||
Line 56: | Line 41: | ||
Please look at the [[HPC:User_Guide|PMACS HPC Users Guide]] for information on how to run jobs on the PMACS cluster. | Please look at the [[HPC:User_Guide|PMACS HPC Users Guide]] for information on how to run jobs on the PMACS cluster. | ||
− | |||
=== Optional Section: Instructions for generating Public-Private keypairs === | === Optional Section: Instructions for generating Public-Private keypairs === |
Revision as of 15:38, 15 July 2014
Contents
Other Pages
Connecting to the PMACS Cluster
Currently, secure shell (SSH) is the only supported method of connecting to the cluster. The login machine name is consign.pmacs.upenn.edu You should probably add "ServerKeepAliveInterval 60" to your SSH client's configuration.
After your account is created, you can connect using your PMACS credentials.
Important Host/Server Names
- consign.pmacs.upenn.edu : head node/login server ; Do NOT run jobs on consign
- mercury.pmacs.upenn.edu : file transfer server and the server where home directories are initailized on First Login; Do NOT run jobs on mercury either
- PMACS VPN
First Login
Temporary Password Change
All PMACS accounts are provisioned with a temporary password. Before you can log into the PMACS cluster for the first time, you will need to change this temporary password. Change of the temporary password and enrollment into the PMACS password reset system can be done here
Enrollment into the PMACS Password Reset system
All PMACS account passwords are set to expire every 180 days. To avoid your password from expiring and possibly preventing access to the PMACS cluster, all cluster users are encouraged to enroll into the reset system. The password reset application can be access here. Once enrolled, this system will also allow you to recover forgotten PMACS passwords and reset known/expired PMACS passwords.
Initialize your home area
- With the newly changed password log into the file transfer host: mercury.pmacs.upenn.edu
ssh <your_user_name>@mercury.pmacs.upenn.edu
Remember to replace <your_user_name> above with your PennKey username
- Upon login, you will see a message similar to
Creating home directory for <user_name>
- You are now ready to start using the PMACS HPC cluster :
ssh <your_user_name>@consign.pmacs.upenn.edu
Remember to replace <your_user_name> above with your PennKey username.
Please look at the PMACS HPC Users Guide for information on how to run jobs on the PMACS cluster.
Optional Section: Instructions for generating Public-Private keypairs
For added convenience and security, Public-Private Keys may be used for SSH connections to the PMACS cluster.
On Mac OS X and GNU/Linux systems, run the following command from within a terminal and follow the on-screen instructions. Please DO NOT copy-paste. Read each command and run the command on your own:
$ ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key ($HOME/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in $HOME/.ssh/id_rsa. Your public key has been saved in $HOME/.ssh/id_rsa.pub. The key fingerprint is: xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx asrini@ The key's randomart image is: +--[ RSA 2048]----+ | . | | kjweo | | x B E x | | * B l + | | S +aser .| | + + | | . weq | | . x 12| | 45+ | +-----------------+
On Windows machines you can generate and use PublicKeys with Putty. Here is a link to a Youtube channel which has video tutorials for generating and using Public keys.
After generating a Public-Private keypair, copy the contents of the .ssh/id_rsa.pub file to a file named .ssh/authorized_keys in your home area on the PMACS cluster.
[$USER@consign ~]$ vim .ssh/authorized_keys One SSH public key per line; save and close the file
Then change the permissions on the file:
[$USER@consign ~]$ chmod 600 .ssh/authorized_keys