link to create public key documentation.
This commit is contained in:
parent
367d3f6977
commit
dc384ba999
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue