Replies: 5 comments 1 reply
|
i will have a look how to deal with it - thx a lot for the contribution! |
|
Thanks again for reporting this. I implemented the compatibility changes in PR #118. The session workspace now adapts to the capabilities that are actually available on the remote system:
There is deliberately no SCP fallback. Devices without SFTP remain SSH-only, and the standalone SFTP Manager is unchanged. I also verified the behavior locally against two otherwise identical OpenSSH targets: one with SFTP and one without it. Both provided SSH and metrics, but only the SFTP-capable target was eligible for automatic pane opening. Maybe you could check against your switch again and provide feedback? :) |
|
Hi, Let's start with the easy part: the prompt issue is gone. I even now see the banner the switch sends when connecting. Same for Linux hosts. That's perfect ! Now the difficult part. I'll explain with different scenarii to hopefully make things easier to understand. Scenario 1: Scenario 2: opposite from scenario 1 Please note that in the same WebSSH session (no disconnection of the user from the Web UI), if you close all SSH sessions, it behaves like the it resets the SFTP pane visibility. Then when you open a "new" first SSH session, the SFTP pane will be visible or not depending on the compatibility. My conclusion based on these observations: |
|
Thanks for the detailed multi-session scenarios. The follow-up fix has now been merged in PR #120. The embedded SFTP pane is no longer treated as one global workspace state:
The detection is capability-based rather than vendor- or OS-based: WebSSH opens a short-lived SFTP channel and performs a bounded directory read. This applies equally to servers, switches, appliances, and IoT devices. Devices without functional SFTP remain SSH-only; there is still no SCP fallback, and the standalone SFTP Manager is unchanged. The reported Cisco/Linux session-switch scenarios are covered by regression tests. If possible, please try the same sequence against your switch again and let us know how it behaves. |
|
I tested this new build in multiple situations with different Linux distros and Cisco and Aruba switches. Everything went well. Well done ! |

Thanks for the detailed multi-session scenarios. The follow-up fix has now been merged in PR #120.
The embedded SFTP pane is no longer treated as one global workspace state: