commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
If you are behind a restrictive proxy/firewall that blocks port 22 connections but allows SSL on 443 (like most do) then you can still push changes to your github repository.
Your .ssh/config file should contain:
ProxyCommand /usr/local/bin/proxytunnel -v -p -d %h:443
Basically proxytunnel "tunnels" your ssh connection through port 443.
You could also use corkscrew or some other tunneling program that is available in your distro's repository.
PS: I generally use "github.com" as the SSH-HOST so that urls of the kind email@example.com:USER/REPO.git work transparently :) You
There are 4 alternatives - vote for the best!
If you can do better, submit your command here.
You must be signed in to comment.