Monthly Archives: June 2011

SSH key distribution with Ruby and Net::SSH::Multi

When faced with deploying a ssh key to a ton of servers using password authentication, there is but one solution. Ruby, naturally. Below is a script that will iterate through a list of hosts either via STDIN or IO redirection, query for a password once on the command line, then proceed to distribute a specified [...]