SSH crash course

SVN crash course – Tovid Wiki – a Wikia wiki
Automated secure login

Normally, when you do anything with svn, you’ll be prompted for your password. If you’re sick of typing it repeatedly, you can do secure, automated login with ssh-agent. Here’s how:

First, create authentication keys that will be used to verify your identity (If you have files ~/.ssh/id_rsa and ~/.ssh/, you can skip this step):

$ ssh-keygen -t rsa

Next, copy your public key to, so it can authenticate you on future logins:

$ ssh-copy-id -i ~/.ssh/

Then, before you startx or after you open a new terminal, start the ssh-agent and add your public keys to the session:

$ ssh-agent bash
$ ssh-add

No more passwords–and you’re still getting logged in securely!


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s