Question

in ssh (on the Linux command line), in what file is a user's private key normally...

in ssh (on the Linux command line), in what file is a user's private key normally stored?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

As per your requirement the below one is solution please follow it

In linux command line you should create a ssh key pair first.

Use command ssh-keygen

Then it will ask for the directory to save the key pairs both public and private.

/home/username/.ssh/id_rsa is the default directory where you have both the keypairs.

As soon as your keys are generated .ssh/id_rsa will be your private key and .ssh/id_rsa.pub will be your public key.

after that you can use command ls -a for the .ssh directory.

So atlast what we say that

Each key pair consists of a public key and a private key. ... The file where save  the users private key is (/home/username/.ssh/id_rsa).

Add a comment
Know the answer?
Add Answer to:
in ssh (on the Linux command line), in what file is a user's private key normally...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT