When I ssh to a box without a command it gives me an interactive shell. If I were to explicitly say to run bash, it doesn’t work interactively. I have to send an interrupt to stop. If I wanted to run an interactive program like mysql, can I do it without first starting the interactive shell?
Share
You need to provide the
-toption tossh, which allocates a terminal through which you can interact with the remote command.