in reply to Re: Expect OpenSSH sudo login is failing
in thread Expect OpenSSH sudo login is failing
Well since I am passing in several arguments, and the password contains spaces, that is where I'm using the escapes:
In the example below, the final argument is the root password that contains spaces
<blocktext></blocktext>user@host:> perl perlscript.pl one two three four root\ pass\ word
btw, I have tested the password when manually connected to the remote system and the password is correct
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Expect OpenSSH sudo login is failing
by archeman2 (Novice) on Apr 20, 2017 at 21:55 UTC |