-
Notifications
You must be signed in to change notification settings - Fork 270
Config
string - A string to identify your config.
string - A path relative to the workspace root folder. Using this when you want to map a subfolder to the remotePath.
workspace root
string - sftp or ftp.
sftp
string - Hostname or IP address of the server.
integer - Port number of the server.
22
string - Username for authentication.
string - Password for password-based user authentication.
string - The absolute path on remote
/
boolean - Upload on every save operation of VS code
false
boolean - Download the file from the remote server whenever it is opened
false
object - Config the behavior of Sync
command.
{}
boolean - Delete extraneous files from dest dirs.
boolean - Skip creating new files on dest.
boolean - Skip updating files that exist on dest.
boolean - Update the dest only if a newer version is on the src filesystem.
string[] - Same behavior as gitignore, all path reltative to context of the current config
[]
string - Absolute path to the ignore file or Relative path relative to the workspace root folder.
object.
string - glob patterns that are watched and when edited outside of the VS cdoe editor are processed. Set uploadOnSave
to false when you watch everything.
boolean - upload when file changed
boolean - delete when file removed
number - The number of hours difference between the local machine and remote/server. (remote minus local)
0
object.
string[] - Configure patterns for excluding files and folders. The Remote Explorer decides which files and folders to show or hide based on this setting.
number - Lower concurrency could get more stability because some client/server have some sort of configured/hard coded limit.
4
number - the maximum connection time
10000
mixed - Limit open file descriptors to the specific number in a remote server. Set to true for using default limit(222). Do not set this unless you have to.
false
string - Path to ssh-agent's UNIX socket for ssh-agent-based user authentication. Windows users: set to 'pageant' for authenticating with Pageant or (actual) path to a cygwin "UNIX socket".ld get more stability because some client/server have some sort of configured/hard coded limit.
string - Absolute path to user private key.
mixed - For an encrypted private key, this is the passphrase string used to decrypt it. Set to true for enable passphrase dialog. This will prevent from using cleartext passphrase in this config.
boolean - Set to true for enable verifyCode dialog. Keyboard interaction authentication mechanism. For example using Google Authentication (Multi factor)
Note: (requires the server to have keyboard-interactive authentication enabled)
false
Explicit overrides for the default transport layer algorithms used for the connection.
algorithms: {
"kex": [
"ecdh-sha2-nistp256",
"ecdh-sha2-nistp384",
"ecdh-sha2-nistp521",
"diffie-hellman-group-exchange-sha256",
"diffie-hellman-group14-sha1"
],
"cipher": [
"aes128-ctr",
"aes192-ctr",
"aes256-ctr",
"aes128-gcm",
"[email protected]",
"aes256-gcm",
"[email protected]"
],
"serverHostKey": [
"ssh-rsa",
"ecdsa-sha2-nistp256",
"ecdsa-sha2-nistp384",
"ecdsa-sha2-nistp521"
],
"hmac": [
"hmac-sha2-256",
"hmac-sha2-512",
"hmac-sha1"
]
},
Absolute path to your SSH config file.
~/.ssh/config
mixed - Set to true for both control and data connection encryption, 'control' for control connection encryption only, or 'implicit' for implicitly encrypted control connection (this mode is deprecated in modern times, but usually uses port 990)
false
Additional options to be passed to tls.connect(). see https://nodejs.org/api/tls.html#tls_tls_connect_options_callback