一键登录云阿里云

免密登录堡垒机

安装oathtool和sshpass

  • 这两个文件安装比较耗费时间!
brew install oath-toolkit
brew install https://raw.githubusercontent.com/kadwanev/bigboybrew/master/Library/Formula/sshpass.rb

阿里云item2一键连接

  1 #!/bin/bash
  2
  3 sshpass -p 密码 ssh 账户@公网IP
发布了257 篇原创文章 · 获赞 223 · 访问量 32万+

猜你喜欢

转载自blog.csdn.net/csdn_kou/article/details/103578304