GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: A capistrano/rails plugin that makes it easy to deploy/manage/scale to EC2 (moved from rubyforge)
Homepage: http://github.com/wr0ngway/rubber/wikis
Clone URL: git://github.com/wr0ngway/rubber.git
log knownhosts cleanup
wr0ngway (author)
Wed Sep 03 14:04:55 -0700 2008
commit  b6a3e14c869b5e26726209e29cca6655bd91b195
tree    13d93aeca6ec2cdae3754f041863d51dbaf45a26
parent  f9c243a1addd30bf2bf563ab3bba37e6f3a4f074
...
892
893
894
 
895
896
897
...
892
893
894
895
896
897
898
0
@@ -892,6 +892,7 @@ namespace :rubber do
0
   
0
   # delete from ~/.ssh/known_hosts all lines that begin with ec2- or instance_alias
0
   def cleanup_known_hosts(instance_alias)
0
+ logger.info "Cleaning ~/.ssh/known_hosts"
0
     File.open(File.expand_path('~/.ssh/known_hosts'), 'r+') do |f|
0
         out = ""
0
         f.each do |line|

Comments

    No one has commented yet.