# 开发环境 - 依赖 docker 启动 postgres
# KSM 为内部临时存储
boundary dev
# 命令行授权
boundary authenticate password -auth-method-id ampw_1234567890 -login-name admin -password password
# 连接 target - 映射 22 到本地
boundary connect -target-id ttcp_1234567890
# 连接 ssh
boundary connect ssh -target-id ttcp_1234567890
# 使用 admin 登陆
boundary connect ssh -target-id ttcp_1234567890 -- -l admin
# 端口修改
boundary targets update tcp -default-port 443 -id ttcp_1234567890
# windows 使用 putty
boundary connect ssh -style putty -exec putty.exe -target-id ttcp_1234567890