Results 1 to 2 of 2
Hey! Im trying to create a public/private key for open ssh, I don't really know what difference between the two. I want it to all be one command and not ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-04-2010 #1
- Join Date
- Mar 2010
Openssh, create a public key authentication from cli only
Im trying to create a public/private key for open ssh, I don't really know what difference between the two. I want it to all be one command and not have to hit enter after each command. Here is what I mean:
i type "ssh-keygen"
and it asks me were to save, then my paraphrase, then reenter the paraphrase.
I just want it to be I guess you could say unattended if that makes any sense.
- 07-05-2010 #2
the commands have defaults, just use them. run the ssh-keygen, and keep hitting enter until your prompt returns. Then copy the file ~/.ssh/id_rsa.pub to the system you want to log in to, ~/.ssh/authorized_keys
it should work.New to the internet, technical forums, or the hacker / open source community??
Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html
RHCE for RHEL version 5
RHCT for RHEL version 4