Answer the question
In order to leave comments, you need to log in
How to create an .ssh file on Windows to work with Homestead (never worked with SSH)?
I create a key using Putty Gen. Now I can just take it and copy it to a .ssh file?
How to set everything up? And is it possible to do without installing PHP and Composer on the Host machine, as in the YouTube video - the
guy downloads the files to create the Homestead image through Composer. What for? because Vagrant, just in order
not to install PHP on host.
Answer the question
In order to leave comments, you need to log in
1. .ssh is not a file, it is a folder in the user's home folder.
2. When generating keys, public and private keys are created. The first remains in place and is used for authorization, the contents of the second must be inserted into the ~/.ssh/authorized_keys file on the remote machine, on a separate single line. (~ this is the home folder of the desired user, under which you will then log into the remote machine).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question