ssh per script steuern

Piet meiermiti at gmx.net
Tue Apr 2 08:47:04 CEST 2002


Du kommst in keinem Fall um expect herum. Als kleines Beispiel:

spawn -noecho ssh -l admin keks.keks.de
expect "Password:"
send "geheim\r"
expect "*>"
send "ena\r"
expect "*#"
.
.
.




More information about the Linux mailing list