Jump to content

Ssh keyboard-interactive authentication... ruby automation?


Recommended Posts

I'm looking to automate the login process on a my router running dropbear. This ssh service is configured in a way that would handle ssh logins with keyboard-interactive authentication.


if you are unsure what this is. You can test your local machines

ssh -o PreferredAuthentications=none -v

Authentications that can continue: publickey,password


Typically you would see (publickey,password)


In My situation this information is not displayed and I'm forced to login with a interactive session.


when you enter a interactive session you would see this below... notice how the user has already been determined by the command used but the session ask for the username 

ssh admin@


welcome to Ruckus running dropbear

Please login: admin



I hope to use ruby net/ssh or even metasploit to login. So far all my test to automate the login process have failed... there is some documentation with ruby net/ssh and keyboard-interactive sessions but I can't find any examples online.

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.

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...