tales of failure and woe

No public Twitter messages.

 

managing ssh keys with capistrano

Friday, March 16th, 2007

I did a lightning talk at MountainWest RubyConf 2007 covering how we use capistrano at Integrum to manage ssh keys for some of our Xen servers. Please note that this works for a single user sharing multiple keys. Here is how it’s done.
Create your directories:

1
2
3
4
5

mkdir sshkeys
cd sshkeys
mkdir config
mkdir keys

Now the recipe.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

# config/deploy.rb
role :app, [...]