![]() Note how the OpenSSH Windows client can understand the Unix ~ to map to %USERPROFILE, but needs Windows forward slashes (not the Unix back slashes) in the path.Īfter this setup, you should be able to connect to the remote host and open directories on it just like they were on the local computer. Specify the private key file that should be used with the remote computer in the %USERPROFILE%\.ssh\config file:.(Actually, the public key file is not really needed, since we have already shared it to the remote computer in the earlier step.) To make the VSCode’s SSH client use these identity files, we copy over the private and public key files (for example id_ed25519 and id_ed25519.pub) generated by the above step to the %USERPROFILE%\.ssh directory.I used the ssh inside WSL to create the public-private key pair and then shared the. To avoid entering password every time, we need to create a public-private key pair locally and share the key with the remote computer, as described here. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |