iffi

Can the local port in AutoSSH be changed from 22?

3 posts in this topic

I am using an ssh server I have on my network, made from a raspberry pi, and the local port 22 conflicts with it's port forwarding settings. I have tried to just change the port in the settings of the module and I get an error. The ssh server cannot be moved to another port. Is there a way to change the local IP in the AutoSSH Configuration?

Thanks in advance!

0

Share this post


Link to post
Share on other sites

By the way I am only assuming that is the problem. When I attempt to ssh into the Turtle using 

ssh root@localhost -p 2222

I get a connection refused error.

Again, thanks in advance

0

Share this post


Link to post
Share on other sites

nano /etc/turtle/modules/autossh 
somewhere around line 15-20 you should see your host, just tack on a -p and specify the port. 

0

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.