sshpass 1.9 0r 1.10 doesn't out to console on ubuntu jammy or kudu
step
install sshpass on kinectic kudu
run
sshpass -p "adminpassword" sudo apt update
note same steps print everything on console on focal fossa.
I'm sorry. I've been very busy lately.
Atypically for sshpass, the problem is a logic problem, not a system problem. I think the state machine doesn't realize that the password prompt has been satisfied, and doesn't move on to the part where it acts as a passthrough.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Essentially, it opens its own controlling TTY, and then sets that as the standard output, error and input for the process. This is the reason it doesn't print to the terminal: it's printing to sshpass.
We can, perhaps, set sshpass to forward the output, but that won't work completely either. In order to work, we need to also redirect the input, and I'm not sure it makes sense to do that.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i am not sure about it. you can fix it the way you like. i have no idea am the end user.
but there is no rush. just fyi they would be releasing luna lobster in April.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
sshpass -p "adminpassword" sudo install terminator
doesn't work on Jammy and Kinetic Kudu. It works on Focal Fossa
The problem reproduces on my system. I'll have a look when I can.
hi there, did you get a chance to fix the issue.
I'm sorry. I've been very busy lately.
Atypically for sshpass, the problem is a logic problem, not a system problem. I think the state machine doesn't realize that the password prompt has been satisfied, and doesn't move on to the part where it acts as a passthrough.
No worries, take your time I am in no rush, fix it whenever you can.
Snippet from
sudo
's straceEssentially, it opens its own controlling TTY, and then sets that as the standard output, error and input for the process. This is the reason it doesn't print to the terminal: it's printing to sshpass.
We can, perhaps, set sshpass to forward the output, but that won't work completely either. In order to work, we need to also redirect the input, and I'm not sure it makes sense to do that.
i am not sure about it. you can fix it the way you like. i have no idea am the end user.
but there is no rush. just fyi they would be releasing luna lobster in April.
Any update on the fix.
Any update on the fix.