link to create public key documentation.

This commit is contained in:
Kevin Burke 2012-03-11 18:49:14 -07:00
parent 367d3f6977
commit dc384ba999
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? Try http://bit.ly/createsshkey"
exit
end
end