Results 1 to 2 of 2

Thread: Basic port forwarding through SSH not working

  1. #1
    Join Date
    Sep 2014
    Beans
    82

    Basic port forwarding through SSH not working

    Local machine is Ubuntu 14.04 desktop with LAMP (MariaDB on port 3306). Remote machine is unknown linux LAMP type server accepting SSH connections on port 2233.

    So I do this in terminal:

    ssh -L 3307xx.xxx.xxx.xxx:3306 -p 2233 me@remoteserver.com -N

    But when I try to connect to the remote server MySQL (127.0.0.1 and port 3307) it is obvious that I am getting errors from local MariaDB. I say this because if I stop MariaDB on the local machine, the error messages change.

    I do get a prompt on the remote server if I leave off the -N, and I can connect with a standard SSH connection just fine. Are there things to look for that would be holding back the port forwarding? Is my command right?

  2. #2
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •