Commit graph

79 commits

Author SHA1 Message Date
Bill Church
83fb54d98f
chore: dev env 2024-08-22 02:32:49 +00:00
Bill Church
1a5ebc649d
chore: create initial tests 2024-08-22 01:11:45 +00:00
Bill Church
0899cb0efa
chore: template keyboard-interactive 2024-08-21 20:51:33 +00:00
Bill Church
2bd225e12e
chore: refactoring 2024-08-21 20:00:34 +00:00
Bill Church
01ddac958e
chore: minor refactoring 2024-08-21 19:44:47 +00:00
Bill Church
6f694a96a7
chore: linting 2024-08-21 19:31:56 +00:00
Bill Church
2c3a89b5dc
chore: refactor jsmasker calls
chore: implement constants
2024-08-21 19:16:40 +00:00
Bill Church
17bc82db85
feat: get HTTP session secret from WEBSSH_SESSION_SECRET env if available. 2024-08-21 17:44:15 +00:00
Bill Church
cd56b3c51f
chore: implement constants 2024-08-21 17:43:24 +00:00
Bill Church
4196ef3554
chore: implement constants 2024-08-21 17:42:45 +00:00
Bill Church
5a65b6e91d
chore: implement constants 2024-08-21 17:42:22 +00:00
Bill Church
66ce643dd9
chore: refactor debugging, logging and error handling. 2024-08-21 15:08:31 +00:00
Bill Church
76b2f787fd
chore: refactor socket.js 2024-08-21 12:56:13 +00:00
Bill Church
d387cb796d
chore: linting 2024-08-21 12:25:32 +00:00
Bill Church
da21c89f20
chore: linting 2024-08-21 11:04:28 +00:00
Bill Church
46338e4f2c
chore: introduce jsmasker to mask sensitive debug logging data. 2024-08-20 19:42:06 +00:00
Bill Church
a530f59704
feat: Switch User or reauth feature for Basic Auth sessions 2024-08-19 18:51:07 +00:00
Bill Church
60d2528437
refactor: remove unused terminal configuration options
refactor: remove unused serverlog configuration options
refactor: remove unused accesslog configuration options
refactor: remove unused verify configuration options
2024-08-19 11:48:52 +00:00
Bill Church
c9591d637d
fix: enable autoConnect only on /ssh/host/ 2024-08-19 11:36:34 +00:00
Bill Church
589f12b72c
chore: formatting 2024-08-18 13:02:57 +00:00
Bill Church
b5ee677ac6
chore: refactor split ssh and socket to individual modules 2024-08-18 13:02:39 +00:00
Bill Church
ad627e6596
chore: Update config.js to read config file synchronously and merge configuration 2024-08-17 16:19:19 +00:00
Bill Church
b4cbfb4b46
feat: validate handleResize
feat: validate handleControl
2024-08-17 14:25:44 +00:00
Bill Church
aab1a35bc9
feat: validate handleTerminal
feat: validate handleAuthenticate
2024-08-17 14:21:31 +00:00
Bill Church
28f329e315
feat: validateSshTerm checks if term is undefined or null before validation 2024-08-17 14:20:01 +00:00
Bill Church
82c0da0ff7
chore: refactor validateSshTerm into utils.js 2024-08-17 13:10:23 +00:00
Bill Church
72d747763c
feat: routes.js validate input from url parameters 2024-08-17 12:57:22 +00:00
Bill Church
303f53dc43
fix: honor ssh.term settings as default when url param sshTerm is undefined 2024-08-17 10:41:56 +00:00
Bill Church
e2ea06866e
feat: add allowReconnect, allowReauth, and autoLog features, normalize debug logs 2024-08-16 22:58:53 +00:00
Bill Church
ea017016b7
fix: sanitize object no longer mutates original object 2024-08-16 22:47:42 +00:00
Bill Church
8671180f18
chore: major refactoring 2024-08-16 19:22:17 +00:00
Bill Church
fc102380cb
chore: update webssh_client 0.2.18 2024-08-15 18:40:23 +00:00
Bill Church
b9ca79e7cf
fix: correct handling of sshTerm query parameters 2024-08-14 01:05:51 +00:00
Bill Church
266f9876d3
chore: light refactoring 2024-08-13 23:30:44 +00:00
Bill Church
a0affca261
feat: HTTP Basic Authentication and auto-connection with /ssh/host/<hostIP> 2024-08-13 17:31:27 +00:00
Bill Church
aec8be86b4
chore: utils function sanitizeObject Recursively sanitizes an object by replacing the value of any password property with asterisks (*) matching the length of the original password. 2024-08-13 17:30:32 +00:00
Bill Church
1fc35f74da
fix: handle http basic auth in /ssh/host/ route 2024-08-13 14:30:32 +00:00
Bill Church
aa633aef0b
chore: formatting 2024-08-13 12:38:00 +00:00
Bill Church
66c75643d7
chore: update debug logging 2024-08-13 10:43:13 +00:00
Bill Church
617ce151c0
chore: refactor logging to debug 2024-08-13 10:42:34 +00:00
Bill Church
650f4eb8f0
fix: vareiable scoping for conn and stream would prevent multiple user sessions 2024-08-09 02:21:44 +00:00
Bill Church
afe462b180
feat: Add session-based authentication for SSH connections using HTTP Basic auth and express.js 2024-07-18 17:13:23 +00:00
Bill Church
fe7248e056
feat: Update connectionHandler.js and routes.js to propmpt for basic credentials when accessing /ssh/host/<address> and pre-populate credentials and host info AND auto-connect to server. 2024-07-18 15:59:08 +00:00
Bill Church
e39fb885fd
feat: Inject SSH host and port into webssh2 configuration 2024-07-18 15:35:41 +00:00
Bill Church
8fcf4b7b75
fix: Serve the static files from the webssh2_client module with a custom prefix '/ssh/assets' instead of just '/ssh'. 2024-07-18 15:05:04 +00:00
Bill Church
2d19f49091
feat: Add SSH routes and connection handler 2024-07-18 14:59:03 +00:00
Bill Church
7d80e10604
chore: Add server comments to code files 2024-07-18 14:58:35 +00:00
Bill Church
32af90bc3f
chore: Update npm dependencies and refactor server startup code, add express.js, host webssh2 client through webssh2-client module. 2024-07-18 13:45:37 +00:00
Bill Church
27e79df8b1
refactor: Update socket.js to use consistent naming for allowReplay and allowReauth options 2024-07-18 13:44:57 +00:00
Bill Church
c887a64f83
refactor: Update allowReauth option naming consistency 2024-07-17 12:37:56 +00:00