User Tools

Site Tools


askingforsupport:keys

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
askingforsupport:keys [2015/03/11 12:05]
andyr created
— (current)
Line 1: Line 1:
-==== Instructions for CHPC staff ==== 
- 
-Make your .ssh directory readable by others in the 'users' group. 
- 
-   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 :- 
- 
-   ssh-copy-id -i ~staff_user_name/.ssh/id_rsa.pub localhost 
- 
-[ obviously, change //staff_user_name// to the staff username ] 
- 
-==== 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 ~/.ssh/authorized_keys ] 
- 
-   sed -e '/staff_user_name@/ d' -i ~/.ssh/authorized_keys 
- 
  
/app/dokuwiki/data/attic/askingforsupport/keys.1426068356.txt.gz · Last modified: 2021/12/09 16:42 (external edit)