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.
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.
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/.
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
Older topic but if anyone else is looking for an answer and got here from a google search.. If you have connected FROM a "username" to a remote machine and accepted the key then you should look for .ssh folder in /home/username ...
If you don't find the .ssh folder then you have probably connected from a different user .. for example 'root' , then the .ssh folder is in the root directory /
Hope it helps others :)