Where Is The. Ssh Directory?

I installed openssh, but I can't find the .ssh directory. Could anyone be able to tell me where could I find this directory?

P.S. I installed Ubuntu 16.10 as a virtual machine.

3

2 Answers

The file is not created by the installation, but upon the first use of ssh or ssh-keygen. If it is not there, there is nothing to worry about. You can simply create it using mkdir ~/.ssh/.

2

Check here for the .ssh directory in here /home/your-username/.ssh.

Its hidden as a result of the dot(.) before the name.

So to find it do ls -a | grep .ssh in your current location as seen in the image. Also try using nautilus

4

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Elena Rostova

Elena Rostova

Lead Health, Wellness & Medical Journalist

Elena Rostova holds a Master's degree in Public Health Journalism. She covers groundbreaking medical research, holistic wellness trends, mental health awareness, and nutritional science.

Share this article
Twitter Facebook Pinterest