Allocates a tty when deploying to allow full fledge interaction
To have some interactions on the script we need to allocate a tty. This adds a pseudo-tty to the ssh session. This enables `read -s` on deployment scripts.
This commit is contained in:
parent
a7daca90dd
commit
caa3a7378b
@ -35,4 +35,4 @@ cat <<CMD
|
||||
}
|
||||
CMD
|
||||
)
|
||||
ssh $target "bash -c '$execute_command'"
|
||||
ssh -t $target "bash -c '$execute_command'"
|
||||
|
Loading…
Reference in New Issue
Block a user