What Is SSH Port Forwarding, aka SSH Tunneling? SSH port forwarding is a mechanism in SSH for tunneling application ports from the client machine to the server machine, or vice versa. It can be used for adding encryption to legacy applications, going through firewalls, and some system administrators and IT professionals use it for opening backdoors into the internal network from their home.
This simple tutorial is going to show you how to enable Secure Shell (SSH) service in Ubuntu 14.04 Trusty Tahr.
Secure Shell (SSH) is a cryptographic network protocol for secure data communication, remote command-line login, remote command execution, and other secure network services between two networked computers.
SSH is not enabled by default in Ubuntu, but you can easily enable this service via OpenSSH, a free version of the SSH connectivity tools developed by the OpenBSD Project.
To do so, run the command below in terminal:
Or install the openssh-server package via Ubuntu Software Center if you’re on Desktop edition:
Once installed, you can change the port, disable root login and do other changes by editing the config file:
Finally restart the ssh server to take place:
That’s it. Enjoy!
Golang library to proxy ssh connections
Why
I'm using this library in a honeypot, using this library I can intercept the ssh connections and connect each connection to their own container. Sessions can be recorder using the TypeWriterReadCloser.
![Ssh proxy 14.02 windows 10 Ssh proxy 14.02 windows 10](/uploads/1/2/6/4/126432956/444134663.jpg)
Use cases
- capture the flag
- honeypots
- creating screencasts
- whatever you'd like
Ssh Proxy 14.02 Windows 10
Example
Screencast of recorded session:
Contributions
Ssh Proxy Connect
Contributions are welcome.
Creators
Remco Verhoef
![Ssh Ssh](/uploads/1/2/6/4/126432956/784014818.png)
Copyright and license
Code and documentation copyright 2011-2014 Remco Verhoef.
Ssh Proxy Mac
Code released under the MIT license.