Proxy Firefox through SSH tunnel

Have you ever wanted to visit sites from a location that denied access to those sites? What you need is the ability to create a secure and encrypted ssh connection to tunnel your browser traffic through.
If you have access to a remote machine by ssh you can set up Firefox, or any other SOCKS v5 enabled application, to tunnel its connection through ssh.

Making ssh tunnel:

ssh -C2qTnN -D 8080 username@remote_machine.org

Configure Firefox for the proxy

Manual proxy configuration:
SOCKS Host 127.0.0.1 Port 8080
check the box for "SOCKS v5"

Ubuntu – Docker unable login to Docker hub.

root@docker:~# docker login
Login with your Docker ID to push and pull images from Docker Hub. If you don't have a Docker ID, head over to https://hub.docker.com to create one.
Username: username
Password:
Error saving credentials: error storing credentials - err: exit status 1, out: Failed to execute child process “dbus-launch” (No such file or directory)
root@docker:~#

To solve above problem, remove golang-docker-credential-helpers package by this command:

apt-get remove --purge golang-docker-credential-helpers