Jump to content
Hak5 Forums
AvidPontoon

Auto ssh Headache

Recommended Posts

Hello

I am using autoshh on the lan turtle and have setup the config to connect to my lan turtle on port 8888 then I generated a key and copied it to my VPS. This all worked and I was able to connect upon starting autossh in that same session, but after I rebooted the lan turtle I cannot get a ssh session with it. It will give me either "connection reset by peer" and then "connection refused" or just straight up connection refusal. 

 

What am I doing wrong? This has been driving me insane. There is no firewall on the vps blocking the outbound connection either.

Share this post


Link to post
Share on other sites
16 hours ago, AvidPontoon said:

Hello

I am using autoshh on the lan turtle and have setup the config to connect to my lan turtle on port 8888 then I generated a key and copied it to my VPS. This all worked and I was able to connect upon starting autossh in that same session, but after I rebooted the lan turtle I cannot get a ssh session with it. It will give me either "connection reset by peer" and then "connection refused" or just straight up connection refusal. 

 

What am I doing wrong? This has been driving me insane. There is no firewall on the vps blocking the outbound connection either.

Did you seg autossh to autostart? That's not on by default, but can be configured in the same menu where you stared it. The option is marked as "enable". 

Share this post


Link to post
Share on other sites
10 hours ago, Sebkinne said:

Did you seg autossh to autostart? That's not on by default, but can be configured in the same menu where you stared it. The option is marked as "enable". 

Yes it is enabled on the menu I'm still stuck with connection refused tho :/

Share this post


Link to post
Share on other sites

This happened to me too.  With great frustration I wasn't able to SSH in, I even completely disabled the firewall for a little while but that didn't work.  In the end I realised that I needed to wait more than 30 seconds for the Turtle to boot.  For whatever reason, mine was being a little slow.  So maybe try plugging in the turtle, and then wait 10 minutes.  Once I did that, the Turtle has been working fine (and booting up after 30 -40 seconds as usual).

 

Share this post


Link to post
Share on other sites
6 hours ago, Rurn said:

This happened to me too.  With great frustration I wasn't able to SSH in, I even completely disabled the firewall for a little while but that didn't work.  In the end I realised that I needed to wait more than 30 seconds for the Turtle to boot.  For whatever reason, mine was being a little slow.  So maybe try plugging in the turtle, and then wait 10 minutes.  Once I did that, the Turtle has been working fine (and booting up after 30 -40 seconds as usual).

 

I'm having the same problem and it still won't allow a connection even after waiting a long time. For whatever reason, if autossh was started when I unplug turtle the next time I plug it in I can't connect. If I stop the autossh service before unplugging it works fine when plugged in next time. Thought? Ideas?

Share this post


Link to post
Share on other sites
51 minutes ago, Magneto417x said:

I'm having the same problem and it still won't allow a connection even after waiting a long time. For whatever reason, if autossh was started when I unplug turtle the next time I plug it in I can't connect. If I stop the autossh service before unplugging it works fine when plugged in next time. Thought? Ideas?

Whats your setup?

Share this post


Link to post
Share on other sites
Posted (edited)

Lan Turtle with Ubuntu 16.10 in cloud. I have root access. Like I said it works if you shutdown autossh and then unplug and plug back in.  What else do you need to know about setup?

 

Lan Turtle is default just like Darren does in video. 

Remote Port 2222

port 22

Edited by Magneto417x

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.

×