This is a small expect script that accepts unknown hosts as arguments and passes 'yes' to them, so they are automatically accepted in ~/.ssh/known_hosts
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
Theodotos Andreou 6ffa5e5ea4 Initial Commit vor 6 Jahren
LICENSE Initial Commit vor 6 Jahren
README.md Initial Commit vor 6 Jahren
accept-yes.exp Initial Commit vor 6 Jahren

README.md

Accept all unknown hosts

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 ...