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.当您想将子文件夹映射到remotePath时使用此选项。
workspace root工作区根
string - sftp or ftp.sftp或ftp。
sftp
string - Hostname or IP address of the server.服务器的主机名或IP地址。
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 codeVS Code的每次保存操作上传
false
boolean - Download the file from the remote server whenever it is opened无论何时打开文件,都要从远程服务器下载
false
object - Config the behavior of 配置Sync
command.Sync
命令的行为。
{}
boolean - Delete extraneous files from dest dirs.从目标目录中删除无关文件。
boolean - Skip creating new files on dest.跳过在dest上创建新文件。
boolean - Skip updating files that exist on dest.跳过更新dest上存在的文件。
boolean - Update the dest only if a newer version is on the src filesystem.只有当src文件系统上有更新的版本时,才更新dest。
string[] - Same behavior as gitignore, all path reltative to context of the current config与gitignore相同的行为,所有路径都与当前配置的上下文相关
[]
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. 处理在VScdoe编辑器之外观看和编辑的glob模式。Set 当您观看所有内容时,请将uploadOnSave
to false when you watch everything.uploadOnSave
设置为false
。
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.设置为true
以使用默认限制(222)。除非迫不得已,否则不要设置此项。
false
string - Path to ssh-agent's UNIX socket for ssh-agent-based user authentication. 用于基于ssh代理的用户身份验证的ssh代理的UNIX套接字的路径。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.Windows用户:设置为“选美”以使用pageant进行身份验证,或设置为cygwin“UNIX套接字”的(实际)路径,可以获得更高的稳定性,因为某些客户端/服务器具有某种配置/硬编码限制。
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. 为启用密码短语对话框设置为true
。This will prevent from using cleartext passphrase in this config.这将阻止在此配置中使用明文密码短语。
boolean - Set to true for enable verifyCode dialog. Keyboard interaction authentication mechanism. 为“启用验证代码”对话框设置为true
。键盘交互验证机制。For example using Google Authentication (Multi factor)例如,使用Google身份验证(多因素)
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",
"aes128-gcm@openssh.com",
"aes256-gcm",
"aes256-gcm@openssh.com"
],
"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配置文件的绝对路径。
~/.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)对于控制和数据连接加密都设置为true
,仅对于控制连接加密设置为“control”,或对于隐式加密的控制连接设置为“implict”(现代不赞成使用此模式,但通常使用端口990)
false
Additional options to be passed to tls.connect(). 要传递给tls.connect()
的其他选项。see https://nodejs.org/api/tls.html#tls_tls_connect_options_callback请参阅https://nodejs.org/api/tls.html#tls_tls_connect_options_callback。