10 lines
175 B
Plaintext
10 lines
175 B
Plaintext
#!/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
|