Tag Info

New answers tagged


If you have a key to authenticate to the intermediate BusyBox system and you need the password for the final system, just call sshpass on the original Ubuntu system, and call ssh -t to reach the BusyBox system so that there will be a terminal for the inner ssh command to read its password. sshpass -p modempassword ssh -t busybox@xx.xx.xx.xx ssh ...


You need to use expect (or similar such as perl's Expect.pm module, or even perl's Net::SSH module...or the python pexpect module if you prefer python) on your Ubuntu server to: connect to the busybox system, either with a password or with a key when you get a shell prompt, issue the ssh command to get to the modem when you see the password prompt, send ...

Top 50 recent answers are included