2017-08-14 16:07:03 +02:00
|
|
|
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
|
2017-10-06 16:31:51 +02:00
|
|
|
@@ -166,7 +166,7 @@ expect {
|
2017-08-14 16:07:03 +02:00
|
|
|
}
|
|
|
|
exp_continue -continue_timer
|
|
|
|
}
|
|
|
|
- -re "^$user@.* password: \$" {
|
|
|
|
+ -re "^.assword: \$" {
|
|
|
|
if {$authenticated == 0} {
|
|
|
|
send "$pswd\r"
|
|
|
|
incr authenticated
|
2017-10-06 16:31:51 +02:00
|
|
|
@@ -176,7 +176,7 @@ expect {
|
2017-08-14 16:07:03 +02:00
|
|
|
exit 1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
- -re "(:|#|%|\\\$) \$" {
|
|
|
|
+ -re "(:|#|%|>|\\\$) \$" {
|
|
|
|
;
|
|
|
|
}
|
|
|
|
-re "\[^\r]*\r+\n" {
|