Closed qiao-summer closed 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
密码不方便写死在配置文件,可以读取指定配置文件,例如~/.sshloginrc,生成ssh_domain吗? ~/.sshloginrc内容大概这样