0
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
echo $HOME
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.
Thank you
Should this command be executed on local machine or on the server ? – Mahmoud Abd El-Fattah – 2015-09-22T08:27:37.187
On local machine, where you have your keys – Jakuje – 2015-09-22T09:42:37.727