I'm trying to use the gsh
command on ubuntu to do some embarrassingly parallel stuff. I've made an /etc/ghosts
file containing all the IP addresses for the hosts, and each host has an account that I created just for "cluster" purposes.
However, when I try a command such as,
$ gsh -l cluster ok 'echo $host'
I get in return two errors,
hostn: Host key verification failed.
hostn+1: Permission denied (publickey,password,keyboard-interactive)
I've already SSH'ed these computers and exchanged keys. I can't find anything in the gsh
man page about a key file. Also, there is the question of where to put the password.
This is the version that I am using: http://outflux.net/software/pkgs/gsh/
If you can't answer, then maybe you can suggest an alternative.