Changes

Jump to: navigation, search

OPS335 Lab 1

102 bytes added, 15:01, 13 January 2016
no edit summary
==== Public/Private key pair ====
This needs to be generated on and used on your '''client''' machine (i.e. the user/machine you're connecting '''from'''). The private key is the equivalent of a <u>''password, ''</u> (that's it why itis considered to be <u>''s private. And a private key is ''</u> - only to be used by ''<u>one user, that</u>''s owner).That is why it's the private key is stored in a userthe owner's '''~/.ssh/ ''' directory.
You generate a new keypair with this command (press enter for all the questions):
<source lang="bash">ssh-keygen -t rsa</source>
You'll When issuing this comman, you will end up with the files: '''~/.ssh/id_rsa ''' and '''~/.ss/id_rsa.pub - now you have a key pair you can use for authentication.''' (private and public keys)
==== Public key on the server ====
13,420
edits

Navigation menu