Open billchurch opened 2 months ago
New Login Dialog for /ssh/ route
Modal for re-authentication
Terminal Settings
Autolog Feature to log sessions on connect
Logs save to browser localStorage
Significant debug system for browser (enabled by localStorage.debug='webssh2*'
from browser console:
Please ignore the name; you don't need a BIG-IP to run this. The docker has everything you need. Eventually, this will replace an existing solution that runs on a BIG-IP as an iRule.
First, I would like to say thank you for this project. We've been using it for almost 2 years now for quick access to our testing environments, and it has been very popular among our internal users.
Our use case is fairly simple: we have an internal website that allows users to bring up a test VM. Once the VM is up, the user can click it, and a webssh2 terminal gets opened in a new tab, already authenticated, ready for commands. While this may seem a little crazy from a security perspective, these are ephemeral test systems, only accessible locally, and the number of people with access to the network is small.
I did some quick testing of webssh2:bigip-server
. These are my observations:
/usr/src
to /usr/src/app
, and also now the default config "just works", so it just silently failed to take my config file, which made it tricky to figure out what happened. The new location makes more sense, but maybe this needs to be highlighted somewhere, or a warning should be displayed if a config.json file is found under /usr/src
./ssh/host
without a hostname, which is central to our use case. If I access /ssh/host/:host_ip
, it still asks me for credentials, ignoring the "user" setting in config.json.The split makes sense, the code looks cleaner, and I appreciate the extra documenation.
I have a couple of items on my wishlist, though I'm not sure if this is the right place for them or if I should just create separate issues, but you asked, so here goes:
/ssh/host?env=VIM_FILE:somefile.config
and then use that env var in .bashrc
to decide what to do.I don't think either of these are easier to implement with the new architecture.
Thanks; this is precisely what I was looking for. Based on your feedback here and in webssh_client
, I opened issues to track these requests/fixes and changes.
I mostly appreciate the notes for documentation, as it can be a struggle to document some of these changes or omissions.
Dear billchurch It look the server version is good and faster then the client one. I like the font setting. BTW, I have a old private problem, because I use it in the limit edge browser,IT might have turned off HTTP basic authentication, so instead of showing a prompt for the username and password, the Edge browser just shows an error message. Is it possible for you to create a login page directly, rather than using a popup from the browser?
@haso2007, Can you tell me what version of Edge you’re using and on what OS? I’ll look into the issue.
Here is the information: Microsoft Windows 10 Enterprise Edition OS Version: 10.0.19045, Build 19045 (N/A) Microsoft Edge for Business Learn more about Microsoft Edge for Business Version 129.0.2792.52 (Official build) (64-bit)
Overview
I've been working on significantly refactoring WebSSH2, aiming to improve modularity, flexibility, and compatibility with different frameworks. I want to share this work in progress and gather feedback from the community.
Key Changes
Split Architecture: The project has been split into separate client and server components:
Targeted Node Version: The server has been refactored to target an older version of Node.js (v6.9.1) for a specific use case. However, after I get some feedback here, I intend to release a newer version of the server code targeting node v18 (or greater, depending on the feedback).
Docker Image: A new Docker image is available for testing:
Modularity: The new architecture allows for easier client customization for different frameworks while maintaining a consistent server backend.
Goals
Feedback Requested
Next Steps
Based on community feedback, we'll refine this approach and merge it into the main WebSSH2 project. Your input is crucial in shaping the future of WebSSH2.
Please review the READMEs in both repositories for more details:
Thank you for your time and input! -Bill