|
преди 5 години | |
---|---|---|
LICENSE | преди 5 години | |
README.md | преди 5 години | |
accept-yes.exp | преди 5 години |
This is a small script that accept unknown hosts as arguments and passes ‘yes’ to them, so they are automatically accepted in ~/.ssh/known_hosts
Based on: http://stackoverflow.com/questions/30206430/parsing-command-line-using-argc-and-argv-in-expect
Usage: ./accept-yes.exp server1 server2 ...