Python visual studio code9/27/2023 ![]() ![]() Select configuration file located in your User ProfileĬhange alias in some more descriptive, set IP address as hostname, user and path to private key, then save file Type Remote – SSH: Open Configuration File Now, click again on “Cog” – Command Pallete Type Remote – SSH to install this extension – click on Install Once installed, click on “Cog” button – extensions Open CMD and type ssh -i c:\Users\user\.ssh\id_rsa Visual Studio Code on Windows 10 Test ssh connection from Windows 10 to Linux # copy content of your public key file to authorized_keys file On CentOS 7 create ~/.ssh/authorized_keys file, set appropriate permissions and copy content of public key Windows 10 file to ~/.ssh/authorized_keys So we’ll create key-pair on Windows 10 and copy Windows 10 public key to /~/.ssh/authorized_key file ![]() Visual Studio Code uses SSH key-pair to connect to linux box. Creating SSH connection between Windows 10 and CentOS 7 In this post we’ll be installing Visual Studio code on Windows 10,open and execute Python script on remote linux box.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |