Merge pull request #46 from kevinburke/master

Link to documentation about how to create public keys
This commit is contained in:
Jeff Lindsay 2012-03-11 18:56:18 -07:00
commit e15cb9e96a
1 changed files with 2 additions and 1 deletions

View File

@ -65,7 +65,8 @@ class LocalTunnel::Tunnel
possible_key = Dir[File.expand_path('~/.ssh/*.pub')].first
puts " Failed to authenticate. If this is your first tunnel, you need to"
puts " upload a public key using the -k option. Try this:\n\n"
puts " localtunnel -k #{possible_key ? possible_key : '~/path/to/key'} #{port}"
puts " localtunnel -k #{possible_key ? possible_key : '~/path/to/key.pub'} #{port}\n\n"
puts " Don't have a key? Check out http://bit.ly/createsshkey"
exit
end
end