![]() 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 Open Command prompt on Windows 10 and create 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. It is cross-platform : Windows, Mac or Linux.It has a great ecosystem of plugins for supporting other languages (C, C , C#, Python, …), you can even install keymaps from text editors like sublime text, atom, vim.It comes with a built-in support for Javascript, TypeScript, nodeJs (auto-completion, syntax check, debug, …), and according to Slant – 12 Best IDEs for TypeScript development as of 2019 it has the best typescript support.Main reasons for using Visual Studio Code Visual Studio Code (aka VS Code ) is “a lightweight but powerful source code editor which runs on your desktop and is available for Windows, macOS and Linux”.It is half-way between an text editor and an IDE.
0 Comments
Leave a Reply. |