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.
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 :)