error connecting to remote: invalid packet received from mshell client
Describe the bug Wave Terminal 0.6.0. After create of remote ssh connection i receive and click on connect, i receive:
prompt> connecting to user@remote-host...
prompt> error connecting to remote: invalid packet received from mshell client: raw[stty: 'standard input': Inappropriate ioctl for device]
prompt> error reading from controlling-pty: read /dev/ptmx: input/output error
I can confirm, that the .mshell folder is created on remote machine. Reinstalling helper returns:
prompt> installing mshell v0.4.0 to user@remote-host...
prompt> mshell detected remote architecture as 'linux.amd64'
prompt> successfully installed mshell v0.4.0 to ~/.mshell
prompt> connecting to user@remote-host...
prompt> error reading from controlling-pty: read /dev/ptmx: input/output error
prompt> error connecting to remote: invalid packet received from mshell client: raw[stty: 'standard input': Inappropriate ioctl for device]
prompt> error reading from controlling-pty: read /dev/ptmx: input/output error
To Reproduce Steps to reproduce the behavior:
- define remote SSH connection
- Click on "Connect"
- See error
Expected behavior Establish remote connection
Screenshots
Desktop (please complete the following information):
- OS: Linux, x64
- Ubuntu 23.10
I think this is a combination of 2 issues. One is due to the configuration of stty on your remote machine. My guess would be that you are seeing this issue due to stty not being able to detect an interactive shell.
But that being said, we should be able to handle those errors on our end, and it seems like we aren't doing that properly. Do you, by chance see the stty: 'standard input': Inappropriate ioctl for device message when using ssh from a command line?