导入服务器配置

导入说明:

  • 请选择之前导出的 YAML 配置文件
  • 如果服务器已存在(根据 host 判断),将更新其配置
  • 如果服务器不存在,将创建新服务器
  • 只导入用户录入的字段(name, host, port, username, active, provider, position)

支持 .yml 或 .yaml 格式

YAML 文件格式示例:

---
- name: 服务器1
  host: 192.168.1.100
  port: 22
  username: root
  active: true
  provider: AWS
  position: 0
- name: 服务器2
  host: example.com
  port: 22
  username: admin
  active: true
  provider: Aliyun
  position: 1