mac 连接 ssh:
ssh name@192.168.124.4
mac 连接 sftp:
sftp name@192.168.124.4
stfp 传输文件:
put /a/b.js
使用vscode sftp插件:
// sftp.json
{
"name": "My Server",
"host": "192.168.124.4",
"protocol": "sftp",
"port": 22,
"username": "username",
"remotePath": "/home/pi/Documents",
"uploadOnSave": false,
"useTempFile": false,
"openSsh": false
}