FiXato-ubuntu-machine 0.5.3.2.21 → 0.5.3.2.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -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
|