prova con expect:

esempio:
expect -c 'spawn ssh user@host_server ; expect assword ; send "password" ;
interact'

alcuni link:

http://stackoverflow.com/questions/4780893/use-expect-in-bash-script-to-provide-password-to-ssh-command

http://ubuntuforums.org/showthread.php?t=192929

usato per los tesso motivo che ha spinto la tua ricerca

oppure puoi usare un software come PAC

http://sourceforge.net/projects/pacmanager/



---------------------------------------------------------

"Violence is the last refuge of the incompetent." by Salvor Hardin

Caria Antonio
---------------------------------------------------------


2012/7/11 Nicola Asuni - LIST <[email protected]>

> On 11/07/12 16:45, Angelo Abis wrote:
> > Domanda, conoscete una maniera alternativa di lanciare un ssh in maniera
> > non-interattiva (passargli pure la password in chiaro) che non siano le
> > authorization key?
>
> Prova con questo:
> http://ansible.github.com/
>
> Ciao :)
>
>
> --
> Nicola Asuni
>
>
>
> _______________________________________________
> Gulchelp mailing list
> [email protected]
> http://www.gulch.crs4.it/cgi-bin/mailman/listinfo/gulchelp
>
_______________________________________________
Gulchelp mailing list
[email protected]
http://www.gulch.crs4.it/cgi-bin/mailman/listinfo/gulchelp

Rispondere a