Tag Info

Hot answers tagged

5

The feature is called ControlMaster which does multiplexing over one existing channel. It will cause you will do all key exchange and logging in only once and the later commands will go through much faster. You activate it using these three lines in you .ssh/config: Host host.com ControlMaster auto ControlPath ~/.ssh/master-%C # for openssh < 6.7 ...


2

Performing SSH tunneling can get a bit confusing with all the terminology, but there is a complementary feature to -L, which provides you the ability to "dynamically" assign ports by allocating a socket locally, instead of a single port. From the man page: -D [bind_address:]port Specifies a local ``dynamic'' application-level port forwarding. This ...


1

If you have control of the machine to the point that you are automating tasks on it, then why is adding your key to authorized_keys not an option? ssh-copy-id -i ~/.ssh/foo somehost@example.com Then you don't have to enter a password every time you connect. If the biggest problem is that connections take a long time to connect, you could reuse a single ...


1

The ProxyCommand is what you need. At my company, all the DevOps techs have to use a "jumpstation" in order to access the rest of the VPC's. The jumpstation is VPN access-controlled. We've got our SSH config setup to automatically go through the jumpstation automatically. Here is an edited version of my .ssh/config file: Host *.internal.company.com User ...


1

In my case (Google Chrome on Ubuntu 14.10), my external address does change, at least within the browser. Just google "What's my IP address?" with and without the proxy connection. Also, after you set up the proxy, try destroying the tunnel and see if you can still get traffic. When I do this, chrome returns an error "Unable to connect to the proxy ...



Only top voted, non community-wiki answers of a minimum length are eligible