[ale] Using ~/.ssh/config Better?
James Sumners
james.sumners at gmail.com
Fri Apr 22 09:25:16 EDT 2011
The only thing that came to mind immediately is tunnels. So I did a
quick search to see how one would configure a tunnel in their config
file. I came upon [1] which details it exactly. [1] also looks to have
some more answers for your question. Anway, here's how to setup a
tunnel in your config:
==============
Host myTunnel
# The tunneling host
Host ssh.example.com
Port 22
# Forward your local port to some remote port over the tunnel
LocalForward localhost:4443 supersecret.com:443
==============
Then you open https://localhost:4443/ in a web browser on your local
machine and get the page at supersecret.com over your SSH tunnel.
[1] -- http://magazine.redhat.com/2007/11/27/advanced-ssh-configuration-and-tunneling-we-dont-need-no-stinking-vpn-software/
[1] -- http://tinyurl.com/c7lejq
On Fri, Apr 22, 2011 at 9:13 AM, JD <jdp at algoloma.com> wrote:
> Besides using key-based authentication with this
> file, are there other uses or tricks that I could be using with this
> file to further simplify ssh, sftp, scp, rsync, rdiff-backup and other
> ssh-based connections?
--
James Sumners
http://james.roomfullofmirrors.com/
"All governments suffer a recurring problem: Power attracts
pathological personalities. It is not that power corrupts but that it
is magnetic to the corruptible. Such people have a tendency to become
drunk on violence, a condition to which they are quickly addicted."
Missionaria Protectiva, Text QIV (decto)
CH:D 59
More information about the Ale
mailing list