forked from pool/conman
23 lines
539 B
Diff
23 lines
539 B
Diff
|
Index: conman-0.2.7/lib/exec/ssh.exp
|
||
|
===================================================================
|
||
|
--- conman-0.2.7.orig/lib/exec/ssh.exp
|
||
|
+++ conman-0.2.7/lib/exec/ssh.exp
|
||
|
@@ -168,7 +168,7 @@ expect {
|
||
|
}
|
||
|
exp_continue -continue_timer
|
||
|
}
|
||
|
- -re "^$user@.* password: \$" {
|
||
|
+ -re "^.assword: \$" {
|
||
|
if {$authenticated == 0} {
|
||
|
send "$pswd\r"
|
||
|
incr authenticated
|
||
|
@@ -178,7 +178,7 @@ expect {
|
||
|
exit 1
|
||
|
}
|
||
|
}
|
||
|
- -re "(:|#|%|\\\$) \$" {
|
||
|
+ -re "(:|#|%|>|\\\$) \$" {
|
||
|
;
|
||
|
}
|
||
|
-re "\[^\r]*\r+\n" {
|