Expect Script to Add SSH Keys to Multiple Servers

Recently took a new role for work that involved being handed a large number of new Linux servers that I have never logged into before. So I wrote this little script that would automatically add my ssh keys to the list of servers. Also, you will need to already have you ssh keys generated.

Enjoy 🙂 and you will need to modify script to add your own username and/or password.

Expect Scripts, Linux
Tags: , ,

Leave a Reply

Comment
Name*
Mail*
Website*