password in SFTP::Foreign

password in SFTP::Foreign

am 23.08.2007 17:48:35 von aji

Hi all,

Could someone explain to me, why using Expect to handle the password
authentication is not recommended, since it is sent using SSH tunnel
(encrypted)?

Re: password in SFTP::Foreign

am 24.08.2007 19:35:50 von keith

On Aug 23, 10:48 am, Aji wrote:
> Hi all,
>
> Could someone explain to me, why using Expect to handle the password
> authentication is not recommended, since it is sent using SSH tunnel
> (encrypted)?

I always assumed that it was because the script you call Expect from
will have the cleartext password in it.

Keith