Creating Secure Tunnels With ssh | Linux Today

Creating Secure Tunnels With ssh

Written By
MF
Mitch Frazier
Jun 19, 2009

“Amoung other things, the ssh command allows you to setup secure
tunnels to remote computers. One example of creating a tunnel that
I use often is to use phpmyadmin to look at the database on a
remote server without having to have phpmyadmin actually installed
on the remote server.

“To do this I simply install phpmyadmin on my local system then
I use ssh to create a tunnel to the server that I want to interact
with. This means I don’t have to have phpmyadmin installed remotely
and I don’t have to maintain multiple phpmyadmin installations if I
manage more than one server.

“Now of course, mysql is network capable to begin with so it’s
also possible to just setup phpmyadmin on your local system to talk
directly to mysql on the remote server. However, for security
reasons you may not want to have mysql listening directly on a
public interface: have it listen on localhost but not on the
internet.”

Complete
Story

MF

Mitch Frazier

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.