Re: FTP and security
| From: | Bryan Koschmann - GKT | Date: | Tue, 26 Nov 2002 20:20:48 +0000 |
| Subject: | Re: FTP and security | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-126171@lists.php.net to get a copy of this message | ||
Marco,
Would you have any examples for using an SSH tunnel? I'm using fsockopen
to get data from proprietary server software (just returns data to me in
different formats) and I would like to have it secure. I'm just not sure
how I could incorporate that.
Thanks,
Bryan
On 26 Nov 2002, Marco Tabini wrote:
|Rich,
|
|Why don't you create an ssh tunnel between your two boxes and then
|perform you ftp connection through there? This way, the connection would
|be secure and you could impersonate whichever user you need to.
|
|There is also a secure version of ftp, but I don't think that it can be
|instantiated directly from PHP, and you would therefore have to run it
|from a shell, which would give the same problems you have with ssh now.
|
|
|Marco
|
|