init III
This commit is contained in:
10
Linux automated conf via expect/expect.exp
Normal file
10
Linux automated conf via expect/expect.exp
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/expect -f
|
||||
|
||||
spawn ssh 10.1.1.74 -l ageissler -oKexAlgorithms=+diffie-hellman-group1-sha1 -caes256-cbc
|
||||
|
||||
expect "assword:"
|
||||
send "fffffffffffff\n"
|
||||
expect "#"
|
||||
send "dir nvram:\n"
|
||||
send "exit\n"
|
||||
interact
|
||||
Reference in New Issue
Block a user