Help for this page

Select Code to Download


  1. or download this
    ssh -fNg -L 6603:127.0.0.1:3306 remote_user@mysql.example.com
    
  2. or download this
    my $ssh_pid= open("ssh -fNg -L 6603:127.0.0.1:3306 remote_user@mysql.e
    +xample.com |")
        or die;
    ...
    
    # tear down the connection
    kill -9 => $ssh_pid;