FiXato-ubuntu-machine 0.5.3.2.21 → 0.5.3.2.22
Sign up to get free protection for your applications and to get access to all the features.
@@ -29,7 +29,7 @@ namespace :ssh do
|
|
29
29
|
|
30
30
|
desc 'Sort and remove duplicate keys. Useful if you run ssh:add_secondary_keys multiple times by accident.'
|
31
31
|
task :cleanup_keys do
|
32
|
-
run 'sort -u ~/.ssh/authorized_keys2 >
|
32
|
+
run 'sort -u ~/.ssh/authorized_keys2 > ~/.ssh/authorized_keys2-sorted && mv ~/.ssh/authorized_keys2-sorted ~/.ssh/authorized_keys2'
|
33
33
|
end
|
34
34
|
|
35
35
|
desc <<-DESC
|