vscode-sftp icon indicating copy to clipboard operation
vscode-sftp copied to clipboard

You are specifing "agent" and "privateKey" at the same time, the later will be ignored

Open Offerel opened this issue 1 year ago • 1 comments

Do you read the FAQ?

  • [ x ] Yes.

Describe the bug On the output panel i get the message: " [warn] Config Option Conflicted. You are specifing "agent" and "privateKey" at the same time, the later will be ignored." multiple times. There is no privateKey in my config, i use only "agent"

To Reproduce Example config:

{
	"name": "Testserver",
	"host": "192.168.178.2",
	"protocol": "sftp",
	"port": 22,
	"remotePath": "/var/www/html",
	"profiles": {
		"Linux": {
			"agent": "$SSH_AUTH_SOCK"
		},
		"Windows": {
			"agent": "pageant"
		}
	},
	"username": "myuser",
	"uploadOnSave": true,
	"downloadOnOpen": true,
	"syncOption":{  "delete": true,
					"skipCreate": false,
					"ignoreExisting": false,
					"update" : true
				},
	"remoteTimeOffsetInHours": 1,
	"syncMode": "full",
	"watcher": {
		"files": "**/*",
		"autoUpload": true,
		"autoDelete": true
	},
	"ignore": [
		".vscode",
		".git"
	]
}

Expected behavior No erro message like this.

Desktop (please complete the following information):

  • OS: [Win, Linux]
  • VSCode Version [1.84.2]
  • Extension Version [1.16.3]

Offerel avatar Nov 13 '23 18:11 Offerel