Skip to content
Winston Lee

Winston Lee

  • Home
  • Blog
  • Github
  • LinkedIn
Winston Lee
Winston Lee

copy

General IT | Linux

How to add ssh keys to multiple hosts

Requisite list.txt: list of hosts ~/.ssh/id_rsa.pub: keys to add Bash script copy.sh Explanation sshpass pass your password to the ssh prompt -o StrictHostKeyChecking=no ignores the “host identity not established” prompt, allowing sshpass to do its job How to execute Reference…

Read More How to add ssh keys to multiple hostsContinue

Scroll to top
  • Home
  • Blog
  • Github
  • LinkedIn