Simple SSH tunneling with command line
Simple tunneling with ssh with port forwarded to connect your service locally. Make sure your local port is available first. $ ssh -f user@website.com -L 2000:website.com:5432 -N
Simple tunneling with ssh with port forwarded to connect your service locally. Make sure your local port is available first. $ ssh -f user@website.com -L 2000:website.com:5432 -N
Just an example of Vagrantfile in case I need it. you can also use it. $ mkdir vagrant ~/vagrant:~$ touch Vagrantfile ~/vagrant:~$ vagrant up Vagrantfile: # -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure(“2”) do |config| config.vm.box = “ubuntu/xenial64” config.vm.network “private_network”, ip: “192.168.56.11” config.vm.provider “virtualbox” do |vb| vb.memory = “2048” end config.vm.provision :shell, … Read more