3 ms·
This won't work because the command send to the server is not an argument vector, but a command string interpreted by the users login shell. `ssh -t user@remot
by blueflow 3y ago
This won't work because the command send to the server is not an argument vector, but a command string interpreted by the users login shell.
`ssh -t user@remote /bin/sh asdf` would execute `/bin/false -c "/bin/sh asdf"` on the remote.
- batch12 3y agoMakes sense, thanks for the clarification.