Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update lenovossh

  • Loading branch information...
commit 0cbc35cd802a6a1f7cb626b2d628864c0df41fc6 1 parent c59906a
@ronalfei authored
Showing with 7 additions and 7 deletions.
  1. +7 −7 lenovossh
View
14 lenovossh
@@ -15,21 +15,21 @@ expect {
send "yes\r"
exp_continue
} "*password:" {
- send "DoTa56Fl%\r"
+ send "123123%\r"
expect "\$*"
send "su - \r"
expect "*assword:" {
- send "TkB&nLK18$\r"
+ send "123123\r"
interact
} "密码*" {
- send "TkB&nLK18$\r"
+ send "12312318$\r"
expect "*密码不正确*" {
send "su - \r"
expect "password:" {
- send "lenovolabs\r"
+ send "1234213\r"
interact
} "密码*" {
- send "lenovolabs\r"
+ send "123123\r"
interact
}
}
@@ -37,10 +37,10 @@ expect {
} "*密码不正确*" {
send "su - \r"
expect "*assword:" {
- send "lenovolabs\r"
+ send "123123\r"
interact
} "密码*" {
- send "lenovolabs\r"
+ send "123123\r"
interact
}
} "timeout" {
Please sign in to comment.
Something went wrong with that request. Please try again.