ssh keygen
(Podcast Lectures Tutorial)
How To Access a (Course_account) with ssh keygen
or,
"How can I access another account without typing my password over and
over".
Assumptions and Conventions
- This tutorial assumes you are using linux/unix, on a
departmental cs account
which you would receive
as a grad
student staff or academic with out department.
- if you do not have such an account
fill in two forms
- For the example below substitute
(course_account) for
the account you need access to.
-
This could be generalized to any
other account you need access to via keygen.
Directions
-
cd to your .ssh directory
-
See the Makefile (by Bruce Folliot) , click
(+)
- save it as "Makefile"
- copy it over to your .ssh directory
-
run make with options to produce DSA 2 key.
-
it will produce a filename ending with .pub,
-
which is called your public key
- Mail your public key to helpdesk@cs.ualberta.ca,
with the following
- Message Attachment :
- your public key
note it has to be an attachment
so as not to break up the single line code
- Message Body :
State
- which (course_account) you need ssh access to
- that are including as an attachment your public DSA 2 key
-
When you have access to (course_account)
(sub in your own course account in (course_account) above).
-
ssh (course_account)@ohaton
will get you onto
course_account without a password
-
scp filea (course_account)@ohaton:.
will copy filea to the courses account
(note the period . after the :
-
scp (course_account)@ohaton:fileb .
will copy fileb from your course account to
your current account.
(note the space" " and period . after fileb
Originally 2008 03 03 2008, Revised 2009 08 17 -RF