vscode for remote development using ssh on windows

vscode for remote development using ssh on windows

Guide

server

sudo apt-get install openssh-server

local

  1. install ssh-client on local machine.
  2. download VSCodeUserSetup-x64-1.36.1.exe from here and install.
  3. start vscode and install Remote Development extension.
  4. ctrl+shift+p and enter remote-ssh and configure for ssh.

~/.ssh/config contents

Host node08
    HostName 192.168.100.08
    User root

 Host node09
    HostName 192.168.100.09
    User root 

use ssh-keygen instead of username and password

copy local `~/.ssh/id_rsa.pub` to remote `~/.ssh/authorized_keys`

Reference

History

  • 20190729: created.