Remote - SSH


we directly SSH into server & access its directory also we can directly attach debugger to the app.

it will be very useful for debugging app's in production

  1. Install Remote SSH Plugin for VS Code

  2. Add SSH Targets

  3. Enter full ssh command with key for example

ssh -i "D:\\df-tech\\DemandFarm_Internal_AWS_Key.ppk" [email protected] 

SSH key permission issue fix for Windows


icacls .\\private.key /inheritance:r
icacls .\\private.key /grant:r "%username%":"(R)"
#example
#icacls .\\DemandFarm_Internal_AWS_Key.key /Inheritance:r
#Icacls .\\DemandFarm_Internal_AWS_Key.key /Grant:r "SaurabhGangamwar":"(R)"

Windows SSH: Permissions for 'private-key' are too open