Add 'examples/expect/loginkvm.exp'

This commit is contained in:
Jakub Filo 2021-09-07 20:24:01 +00:00
parent fbabb522fb
commit abf98cd257

View File

@ -0,0 +1,9 @@
#!/usr/bin/expect
spawn pass luks.gigabarch.vpn
expect ":~#"
set passoutput $expect_out(buffer)
spawn ssh gigabarch -l plantroon
expect "assword"
send $passoutput\r
interact