Skip to content

Instantly share code, notes, and snippets.

@austenito
Created August 28, 2011 20:00
Show Gist options
  • Save austenito/1177141 to your computer and use it in GitHub Desktop.
Save austenito/1177141 to your computer and use it in GitHub Desktop.
node
Append this to your $HOME/.ssh/config file
Host videoswithfriends.no.de
Port 19880
User node
ForwardAgent yes
To run an existing GIT repository with a file called server.js in the root then do this:
cd repo
git remote add videoswithfriends.no.de videoswithfriends.no.de:repo
git push videoswithfriends.no.de master
If everything goes correctly your server will be running at http://videoswithfriends.no.de/
To SSH into your machine do:
ssh videoswithfriends.no.de
@j3j3
Copy link

j3j3 commented May 16, 2012

What an amazing gist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment