List:General Discussion« Previous MessageNext Message »
From:Benjamin Pflugmann Date:January 4 2001 4:31pm
Subject:Re: [OT] SSH Forwarding, MySQL and PHP
View as plain text  
Hi.

On Thu, Jan 04, 2001 at 02:22:02PM +0000, basil.hussain@stripped wrote:
[...]
> 1. Create a user account on MySQL host that has no shell (to be as secure as
> possible, as no remote commands need executing).

Agreed, I would recommend that.

> 2. Tell SSH somehow to keep forwarding open on the webserver host,
> regardless of whether there is any traffic going over it.

Not perfekt, but simply use "sleep" with a very high number of seconds
(86400 is one day, so use 31536000 for about a year, or higher).

Of course, you can also set the sleep command as default shell, so
that it is executed automatically, but this is a matter of taste,
IMHO.

Bye,

        Benjamin.

Thread
[OT] SSH Forwarding, MySQL and PHPBasil Hussain4 Jan
  • Re: [OT] SSH Forwarding, MySQL and PHPBenjamin Pflugmann4 Jan
    • Re: [OT] SSH Forwarding, MySQL and PHPBasil Hussain4 Jan