From the course: Learning SSH
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Local port forwarding - SSH Tutorial
From the course: Learning SSH
Local port forwarding
- [Instructor] Local port forwarding allows us to specify a port on our local system that will send traffic to a particular port on the remote system. This is often used to make protected services on the remote server available locally on the client, for example, a protected database server that isn't normally accessible outside of a private network. Using local port forwarding, we can work with a service as though it were running on our local system while we're connected to the remote system using SSH. In this example, we make the service running on port 3306 on the remote server which is a common port for database server available on port 3333 on our local system. Software we run locally would be able to communicate with this port and use the remote database server as though it were running locally. In this context, the address' localhost in the command refers to the remote server. This could also be one specific bind…
Contents
-
-
-
-
-
(Locked)
Transferring files with SFTP5m 45s
-
(Locked)
Transferring files with SCP2m 49s
-
(Locked)
Multi-step SSH connections4m 48s
-
(Locked)
Port forwarding with SSH1m 48s
-
(Locked)
Local port forwarding4m 3s
-
(Locked)
Remote port forwarding2m 13s
-
(Locked)
Dynamic port forwarding3m 13s
-
(Locked)
Options to use with port forwarding2m 27s
-
(Locked)
Tools that use and extend SSH3m 58s
-
(Locked)
Securing an SSH server4m 29s
-
(Locked)
Troubleshooting SSH6m 35s
-
(Locked)
-