Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Failed to authenticate #36

Closed
programble opened this Issue · 23 comments
@programble

Localtunnel refuses to ever authenticate:


[~]$ localtunnel -k ~/.ssh/id_rsa.pub 4567
   Failed to authenticate. If this is your first tunnel, you need to
   upload a public key using the -k option. Try this:

   localtunnel -k /home/curtis/.ssh/id_rsa.pub 4567
[~]$ localtunnel -k ~/.ssh/id_rsa.pub 4567
   Failed to authenticate. If this is your first tunnel, you need to
   upload a public key using the -k option. Try this:

   localtunnel -k /home/curtis/.ssh/id_rsa.pub 4567
[~]$ 
@Ashesh

Did this get resolved for you? I am getting a similar error?

@programble

The same thing still happens for me.

@Ashesh

I am assuming there wasn't any workaround for you either.

@programble

Nope, I never got it working.

@Ashesh

Finally gave up. Moved to showoff.io

@nealtodd

Exactly the same issue for me too.

@francescob

same problem for me, anyone came up with a solution?

@nealtodd

Never got past the authentication problem. As with Ashesh, used showoff.io instead.

@francescob

i've managed to go past this using a public key without passphrase..

@nealtodd

maybe more than one cause of the authentication problem then - I was using a public key without a passphase too. Ho hum.

@poitch

Got the same problem with a key with passphrase so I tried with another without and still had the same problem. Guessing this is now a dead project.

@masonoise

Just chiming in that I had no trouble at all on one laptop, but now on another laptop I'm getting this. Tried a couple of keys as well as generating a new one with no passphrase, just to experiment -- no go. The only difference I can think of is the laptop that worked is running OS X Lion, the one that's not working is still on Snow Leopard.

@rupe

My 3cents worth:

When I first tried localtunnel I generated a key pair just for use with lt, but I also kept getting the above message. I then decided to use my standard id_rsa public key, but still got the above errors. Then I changed into my .ssh folder and tried again, this time all went well. Later, in a new session, I decided to try the custom key pair again (using the -k option), and they seemed to work (not sure though, as they may have just been ignored).

@gokuu

Had the same problem, with all my keys.

But found the solution (at least in my case)... The key must be DSA, not RSA. Generated one using ssh-keygen -t dsa and localtunnel authenticated me successfully!

Hope this helps

@Pomax

It does not. I just ran this on windows with all the tools installed, ssh-keygen -t dsa generates a pair just fine, but localtunnel still reports

Failed to authenticate. If this is your first tunnel, you need to
upload a public key using the -k option. Try this:

localtunnel -k ~/path/to/key 8888
@fahimbabarpatel

@gokuu your comment work for me.

Thanks

Regards
Fahim Babar Patel

@apeace

Same problem, DSA key does not work for me

@yoseldvp

Just generate an RSA key pair with:
ssh-keygen -t rsa
It will ask for the path where the key would be created. (By default it uses your home directory) Then use localtunnel command:
localtunnel -k ~/.ssh/id_rsa.pub 80
Using whatever path you specified in the rsa key generation process and you're g2g.

Hope this helps.

@progrium
Owner

The latest version doesn't require a key, you guys should check it out! Check the latest readme for details.

@progrium progrium closed this
@moneypenny

Nope, this still happens for me. Going to try showoff.io.

@yuliabro

@gokuu, it worked for me as well. Thanks!

@mLuby

@gokuu worked for me, thanks!

Might I suggest adding this key gen step to the instructions? Those who already know it know to ignore it; those who don't may need the extra help.

@matznerd

Apparently localtunnel has been down and there are some other problems. I just used https://ngrok.com/ instead and it worked instantly with no problems so I recommend it instead... although @gokuu's solution did get me through that step (i encountered a problem right after due to server being down).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.