💻 Software
Socat and rich terminals (with Ctrl+C/Ctrl+Z/Ctrl+D propagation)
Fresh5 days ago
Mar 15, 20265901 viewsConfidence Score0%
0%
Problem
-> What options should I use to get fully fledged shell as I get with ssh/sshd? I want to be able to connect the shell to everything socat can handle (SOCKS 5, UDP, OpenSSL), but also to have a nice shell which correctly interprets all keys, various Ctrl+C/Ctrl+Z, tab completion, up/down keys (with…
Error Output
socat - exec:'bash -li',pty,stderr,ctty
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Socat and rich terminals (with Ctrl+C/Ctrl+Z/Ctrl+D propagation)
Low Risk
The problems were: Missing "setsid" option in right side of socat. It will cause bash not to be controller of session. Using "-" in the left side of socat. The proper thing is `tty`,raw,echo=0. Now I can have a shell over all things socat can suppor…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix