I'm using the Bamboo SSH Task. I want to connect to a Linux VM using the hostname, username, and password. Once connected I want to use the command field to pass commands that allow me to change the password of the user connecting. In the commands field I tried :
passwd
NEWPASS
NEWPASS
However when this runs it connects fine, then tries the passwd command and halts on it. Is there a way to pass these commands so the NEWPASS is treated as user input to the passwd command?