Jump to content

cant setup Autossh to AWS VPS


gittinfunky

Recommended Posts

Having fun playing around with the LAN Turtle.

Have a ubuntu VPS setup in AWS and am trying to setup ssh to the VPS.

VPS setup and I can ssh from my PC. Have setup a user.

I have installed autossh module on the turtle and generated the keys on the turtle, but when I try and copy it to VPS it fails.

Has anyone else used AWS to autossh to turtle ? if so do you have any tips for me ?

thanks

Link to comment
Share on other sites

  • 4 weeks later...

@

gittinfunky

ssh into your VPS then try the following commands

sudo su

passwd enter new password twice

nano /etc/ssh/sshd_config

Then edit this line as shown PermitRootLogin yes

Then edit this line as shown PasswordAuthentication yes

Ctrl + x

y return

service ssh restart

log out then try

ssh root@IP

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...