Home Visual Studio Code Plugins
Post
Cancel

Visual Studio Code Plugins

A useful plugin is sftp which helps users to connect to the server with VS Code.

The config file looks like that:

1
2
3
4
5
6
7
8
9
10
{
    "name": "jason",
    "host": "xx",
    "port": 22,
    "protocol": "sftp",
    "username": "user",
    "password": "pwd",
    "privateKeyPath": "/Users/User/.ssh/id_rsa"
}

As to ftp-simple the config file looks like that:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
[
	{
		"name": "jason",
		"host": "host",
		"port": 22,
		"type": "sftp",
		"username": "jason",
		"privateKey": "/Users/User/.ssh/id_rsa",
		"passphrase": "",
		"path": "/home/jason",
		"autosave": true,
		"confirm": true
	}
]

The key point of running ftp-simple smoothly when using private key is that it is necessary to set passphrase in line 9 of the config file although its value is null. Or it will not connect the server with authorized failed.

This post is licensed under CC BY 4.0 by the author.

Adversarial Machine Learning Attack papers Summary

Tricks Summary 2020