for arg in 10.20.150.{91..93} ;do scp ~/.ssh/id_rsa.pub admin@$arg:~/.ssh && ssh admin@$arg "cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys" ;done 

相关文章:

  • 2021-11-10
  • 2022-12-23
  • 2022-12-23
  • 2022-01-26
  • 2021-10-07
  • 2022-12-23
  • 2021-05-30
  • 2021-12-19
猜你喜欢
  • 2021-07-29
  • 2021-07-09
  • 2022-12-23
  • 2022-12-23
  • 2021-08-28
  • 2021-06-01
  • 2021-11-10
相关资源
相似解决方案