At 0:17 Uhr +0200 20.8.2001, David Tonhofer wrote:
>4) Make sure user 'fred' has an account on machine 'foo'. Unfortunately
> this must be an account with a shell :-(
You could probably write a pseudo-shell and put that into /etc/passwd (i.e.
#!/usr/bin/perl
while(<STDIN>){exit if /^exit$/m; print "This is a pseudo shell. You
can only 'exit'.\n"}
).
How reliable do ssh tunnels work over long periods of time nowadays?
Two years ago there were discussions about dropped/hanging(?)
connections when using tunneling large amounts of data (not mysql
specific).
What do you do when loosing connection (i.e. the server is restarted)?
Probably some sort of 'pinging' the connection is needed? i.e.
opening a connection to mysql over the tunnel on the client side,
doing 'select 1' periodically, if there's no response kill the ssh
client and restart it.
Has someone used replication over an ssh tunnel?
Christian.
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php