]> git.corax.cc Git - toolbox-goodies/commit
include/ssh: Make sure handles don't contain line breaks
authorMatthias Kruk <matthias.kruk@miraclelinux.com>
Mon, 26 Jul 2021 06:49:50 +0000 (15:49 +0900)
committerMatthias Kruk <matthias.kruk@miraclelinux.com>
Mon, 26 Jul 2021 06:53:54 +0000 (15:53 +0900)
commit909ef69e5e67415b293a88734eb6dd82281cc683
tree5f3c2c0ea03e6dcdf9cf0fac97d4ab411f437d5d
parent1a7834717231b797e102cffb8f4f5b26bf34ab73
include/ssh: Make sure handles don't contain line breaks

Handles returned by ssh_tunnel_open() and ssh_proxy_open() are base64
encoded using the base64 commandline tool. However, base64 inserts line
breaks into long outputs, causing line breaks to be inserted into long
handles, and the returned handles to become unusable.
This commit changes the parameters passed tp base64 so that no line
breaks are inserted into the handles.
include/ssh.sh