{"issue":{"created_at":"2011-12-09T16:39:26Z","state":"open","updated_at":"2011-12-09T17:37:08Z","comments":2,"user":{"gravatar_id":"cb2b768a5e546b24052ea03334e43676","id":108,"url":"https://api.github.com/users/drnic","avatar_url":"https://secure.gravatar.com/avatar/cb2b768a5e546b24052ea03334e43676?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"drnic"},"body":"Anyone know what causes this? I wasn't having this issue last night but its happening in 1.8.7/1.9.3 and various different bootstrap/create attempts:\r\n\r\n```\r\n>> hdb = connection.servers.bootstrap\r\nNoMethodError: undefined method `match' for nil:NilClass\r\n\tfrom /Users/drnic/.rvm/gems/ruby-1.8.7-p352/gems/net-ssh-2.2.1/lib/net/ssh/key_factory.rb:48:in `load_data_private_key'\r\n\tfrom /Users/drnic/.rvm/gems/ruby-1.8.7-p352/gems/net-ssh-2.2.1/lib/net/ssh/authentication/key_manager.rb:218:in `load_identities'\r\n\tfrom /Users/drnic/.rvm/gems/ruby-1.8.7-p352/gems/net-ssh-2.2.1/lib/net/ssh/authentication/key_manager.rb:207:in `map'\r\n\tfrom /Users/drnic/.rvm/gems/ruby-1.8.7-p352/gems/net-ssh-2.2.1/lib/net/ssh/authentication/key_manager.rb:207:in `load_identities'\r\n\tfrom /Users/drnic/.rvm/gems/ruby-1.8.7-p352/gems/net-ssh-2.2.1/lib/net/ssh/authentication/key_manager.rb:100:in `each_identity'\r\n\tfrom /Users/drnic/.rvm/gems/ruby-1.8.7-p352/gems/net-ssh-2.2.1/lib/net/ssh/authentication/methods/publickey.rb:19:in `authenticate'\r\n\tfrom /Users/drnic/.rvm/gems/ruby-1.8.7-p352/gems/net-ssh-2.2.1/lib/net/ssh/authentication/session.rb:73:in `authenticate'\r\n\tfrom /Users/drnic/.rvm/gems/ruby-1.8.7-p352/gems/net-ssh-2.2.1/lib/net/ssh/authentication/session.rb:65:in `each'\r\n\tfrom /Users/drnic/.rvm/gems/ruby-1.8.7-p352/gems/net-ssh-2.2.1/lib/net/ssh/authentication/session.rb:65:in `authenticate'\r\n\tfrom /Users/drnic/.rvm/gems/ruby-1.8.7-p352/gems/net-ssh-2.2.1/lib/net/ssh.rb:190:in `start'\r\n\tfrom /Users/drnic/.rvm/gems/ruby-1.8.7-p352/gems/fog-1.1.1/lib/fog/core/ssh.rb:52:in `run'\r\n\tfrom /Users/drnic/.rvm/gems/ruby-1.8.7-p352/gems/fog-1.1.1/lib/fog/aws/models/compute/server.rb:205:in `setup'\r\n\tfrom /Users/drnic/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/timeout.rb:67:in `timeout'\r\n\tfrom /Users/drnic/.rvm/gems/ruby-1.8.7-p352/gems/fog-1.1.1/lib/fog/aws/models/compute/server.rb:204:in `setup'\r\n\tfrom /Users/drnic/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/timeout.rb:67:in `timeout'\r\n\tfrom /Users/drnic/.rvm/gems/ruby-1.8.7-p352/gems/fog-1.1.1/lib/fog/aws/models/compute/server.rb:202:in `setup'\r\n\tfrom /Users/drnic/.rvm/gems/ruby-1.8.7-p352/gems/fog-1.1.1/lib/fog/aws/models/compute/servers.rb:102:in `bootstrap'\r\n\tfrom (irb):5\r\n\tfrom /Users/drnic/.rvm/gems/ruby-1.8.7-p352/gems/fog-1.1.1/bin/fog:40\r\n\tfrom /Users/drnic/.rvm/gems/ruby-1.8.7-p352/bin/fog:19:in `load'\r\n\tfrom /Users/drnic/.rvm/gems/ruby-1.8.7-p352/bin/fog:19\r\n```","assignee":null,"id":2503632,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":648,"title":"NoMethodError: undefined method `match' for nil <-- key_factory.rb:48:in `load_data_private_key`","html_url":"https://github.com/fog/fog/issues/648","closed_at":null,"url":"https://api.github.com/repos/fog/fog/issues/648","milestone":null},"action":"created","comment":{"created_at":"2011-12-09T17:37:08Z","updated_at":"2011-12-09T17:37:08Z","user":{"gravatar_id":"cb2b768a5e546b24052ea03334e43676","id":108,"url":"https://api.github.com/users/drnic","avatar_url":"https://secure.gravatar.com/avatar/cb2b768a5e546b24052ea03334e43676?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"drnic"},"body":"At this point in the bootstrap sequence `server.private_key` is nil, but it shouldn't be https://github.com/fog/fog/blob/master/lib/fog/aws/models/compute/servers.rb#L102","id":3082915,"url":"https://api.github.com/repos/fog/fog/issues/comments/3082915"}}