This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
askingforsupport:keys [2015/06/11 09:58] andyr |
— (current) | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | This allows CHPC staff to assist users - submit jobs, log in to running compute nodes, inspect results. | ||
| - | |||
| - | You should **never** ask for someone else's password, or give your password to anyone else. | ||
| - | |||
| - | ==== Instructions for CHPC staff ==== | ||
| - | |||
| - | Make your .ssh directory readable by others in the ' | ||
| - | |||
| - | chmod 750 $HOME/.ssh | ||
| - | |||
| - | [ ssh has permissions checks, but this one does not prevent use of your keys for login ] | ||
| - | |||
| - | ==== Instructions for the user ==== | ||
| - | |||
| - | Add the staff key to their authorized_keys :- | ||
| - | |||
| - | From your shell on the login node, do this :- | ||
| - | |||
| - | | ||
| - | |||
| - | [ obviously, change // | ||
| - | |||
| - | ==== To log in to the user account ==== | ||
| - | |||
| - | [ from the login node ] | ||
| - | |||
| - | ssh chpc-user@localhost | ||
| - | |||
| - | ==== To remove access afterwards ==== | ||
| - | |||
| - | [ This removes your key, probably at the end, of ~/ | ||
| - | |||
| - | sed -e '/ | ||
| - | |||