Jump to content

grumpoh

Members
  • Content Count

    1
  • Joined

  • Last visited

About grumpoh

  • Rank
    Newbie
  1. I'm attempting to write a script that interfaces with a password-enabled SSH service (dropbear) on a host OpenWRT device. On Debian systems I typically use sshpass to accomplish this. I could also use expect. However it doesn't appear either are available for OpenWRT. EX: sshpass -p "PASSWORD" ssh -o StrictHostKeyChecking=no -oKexAlgorithms=+diffie-hellman-group1-sha1 admin@$IP 'echo test123' Does anyone have a solution to automatically pass the password into and ssh session on the sharkjack? And I know.. keyfiles, etc... in this case it's a legacy product which only supports password authentication.
×
×
  • Create New...