When using the scion ssh client and server, the client is able to connect and it is almost fully functional, however the client tries to connect and believes the server failed to spawn the shell. But the server does successfully spawn the shell, and throws an error failing to set the window size via /dev/ptmx. It should also be noted the server not only successfully spawns bash, it also creates a /dev/pts/2 node when the client connection is made:
When using the scion ssh client and server, the client is able to connect and it is almost fully functional, however the client tries to connect and believes the server failed to spawn the shell. But the server does successfully spawn the shell, and throws an error failing to set the window size via
/dev/ptmx
. It should also be noted the server not only successfully spawns bash, it also creates a/dev/pts/2
node when the client connection is made:Client
Server
The code for size setting via ptmx is located in
https://github.com/netsec-ethz/scion-apps/blob/cb0dc365082788bcc896f0b55c4807b72c2ac338/ssh/server/ssh/sessionchannel.go#L245-L250
Things I've tried to no avail
creack/pty
dependency tov1.1.21