From: Sven Hoexter Date: Mon, 26 Sep 2016 13:05:18 +0000 (+0200) Subject: Sometimes Password, sometimes password. What an assword. X-Git-Url: https://git.sven.stormbind.net/?a=commitdiff_plain;h=d3067ac124798dcb7b69bb0151009cf6d0aa3824;p=sven%2Fscripts.git Sometimes Password, sometimes password. What an assword. --- diff --git a/home/login.tcl b/home/login.tcl index 1d09e7e..c59d10b 100644 --- a/home/login.tcl +++ b/home/login.tcl @@ -40,6 +40,6 @@ if { [string length $sshargs] == 0 } { puts "Connecting with user $user to hosts $host with args $sshargs" eval $spawncmd -expect -re ".*password:" +expect -re ".*assword:" send "$pass\r" interact