Created
August 28, 2011 13:12
-
-
Save austenito/1176649 to your computer and use it in GitHub Desktop.
sonny
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Append this to your $HOME/.ssh/config file | |
Host sonny.no.de | |
Port 43881 | |
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 sonny.no.de sonny.no.de:repo | |
git push sonny.no.de master | |
If everything goes correctly your server will be running at http://sonny.no.de/ | |
To SSH into your machine do: | |
ssh sonny.no.de |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What an amazing gist.