Articles tagged 'ssh'
-
Set up ssh public/private key for no password prompts
November 23, 2011
This post was originally published in the Rambling Labs Blog on November 23, 2011.
It’s been a while since my last post. I’ve had a busy couple of weeks. But here I am again :).
Last week, I was setting myself up for a couple of features that I have to add to a project. I had ssh access (which is a good thing), but I was getting tired of typing in my password each and everytime I tried to connect to the server. The solution to this is fairly simple.
- First, be sure to have your public ssh key in hand or generate your own with:
ssh-keygen -t rsa -C youremail@yourdomain.com
Be sure to generate it with no passphrase (remember that our goal is never get prompted when connecting through ssh).
- Then, on the server, make sure that there…
-
Deploying on shared servers with git
November 23, 2011
This post was originally published in the Rambling Labs Blog on November 23, 2011.
There’s a project I’m currently working on, which is right now hosted on shared servers. I worked for a little while before on this project, but just to add some tiny features and fix some bugs, so I didn’t have the need back then to have a deployment process all set up.
But now, I’m probably going to be working for a couple of months on this, so I figured it would be better for my own sanity to just set everything up from the very beginning, to make the deployment process as easy as possible.
I googled for a while and the people seem to be using git for this. Now, there are a couple of options out there. There’s resmo’s git-ftp which is a git powered…