QianSong1 / wezterm-config

wezterm-config files
MIT License
99 stars 26 forks source link

可以添加一个读取本地配置文件,生成ssh_domain的功能吗? #9

Closed qiao-summer closed 1 month ago

qiao-summer commented 1 month ago

密码不方便写死在配置文件,可以读取指定配置文件,例如~/.sshloginrc,生成ssh_domain吗? ~/.sshloginrc内容大概这样

#   name         ip         port   user    type(1密码 2秘钥)  密码/秘钥
   my_server1  x.x.x.x   22      root           1                        fake_password
   my_server2  x.x.x.x   22     lili               2                        ~/.ssh/id_rsa