AutoTools Autotools ssh connection error

Discussion in 'AutoApps' started by joekeee, Jan 29, 2018.

  1. joekeee

    joekeee New Member

    Joined:
    Oct 15, 2016
    Messages:
    11
    Likes Received:
    0
    I'm trying to set up a connection to my Raspberry Pi.
    SSH is working with private and public key through Putty.

    When I use Autotools to set up the connection I get:
    com.jcraft.jsch.JSchException: USERAUTH fail

    I'm sure it's the correct IP, port, username, key file and key file password.

    What am I missing?
    Kind regards.
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Hi there. How exactly did you set up the connection with AutoTools? Thanks in advance.
     
  3. joekeee

    joekeee New Member

    Joined:
    Oct 15, 2016
    Messages:
    11
    Likes Received:
    0
    I use Tasker and Autotools as plugin.
    I just filled in all the necessary items and tried to connect.

    Even a simple command as dir; doesn't work so I'm probably not getting authenticated.
     

    Attached Files:

  4. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    If you already have the key file then you shouldn't need the password right? You should use one or the other...
     
  5. joekeee

    joekeee New Member

    Joined:
    Oct 15, 2016
    Messages:
    11
    Likes Received:
    0
    The key file has a password.
    I thought the setting meant that.

    Without the password filled in it generates the same error.
    I could try with a private key which doesn't need a password.
    But I would have liked the extra security.
     
  6. joekeee

    joekeee New Member

    Joined:
    Oct 15, 2016
    Messages:
    11
    Likes Received:
    0
    I changed the configuration for a single user on my pi, gave it password access and it works.
    Bought the app too.
    Thanks for taking the time to respond.
     
  7. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806

Share This Page