]> git.corax.cc Git - toolbox/commit
utils/ipc-sshtunnel: Properly escape command passed to ssh
authorMatthias Kruk <m@m10k.eu>
Sat, 11 Mar 2023 08:07:30 +0000 (17:07 +0900)
committerMatthias Kruk <m@m10k.eu>
Sat, 11 Mar 2023 08:07:30 +0000 (17:07 +0900)
commit7589c960e0b7cafd78ab40a4df1cce45dabdba0a
treecf2fa0d41c18cba985d00845dd85d39818621068
parent5c372eadc8d557453714993a677573fb5b569ddb
utils/ipc-sshtunnel: Properly escape command passed to ssh

When ipc-sshtunnel spawns ipc-tap and ipc-inject over ssh, it does
not correctly escape the arguments passed to ssh, causing arguments
to be expanded where no expansion is desired.

This commit modifies the way ipc-sshtunnel so that it correctly
quotes and escapes arguments that are passed to ssh.
utils/ipc-sshtunnel.sh