I have successfully installed Cygwin on my 2012 server.
Now, I want to enable key-based login.
I have searched a lot for this ( I'm not a linux guru ) and everything I have found orbits around adding the key to /.ssh/authorized_keys file.
The problem is that I can't find the .ssh folder to create the file and add the key to it.
Some posts suggested to check if home variable is defined or not by executing
command and see if it will output anything or not.
The outpu was
$ echo $HOME /home/admin
I already have the key generated from the client machine. I just want to know where to put it.
I have found this question but I couldn't get the exact steps from it.