Replies: 3 comments
|
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: |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi,
When connecting to a Linux box, WebSSH automatically starts an SFTP session and a telemetry session along with the SSH tunnel.
If you try to connect to another kind of device (say a Cisco Switch as a not-random-at-all example ;) ), you get the following kind of thing :
Telemetry shows as unavailable and this is fine for me. But I think it would be nicer if the SFTP pane would not open automatically when connecting to an "unsupported" kind of system.
I was wondering if maybe it could be possible to detect if the system you are connecting to supports SFTP and if not, the SFTP connection does not start and the associated pane does not show.
Also please notice that the prompt does not appear automatically in the main pane when connecting to my Cisco switch, I have to hit Enter to get it. Not a big deal but if you happen to find why, this could be nice.
All reactions