d3cbf8388f
Lots of refactoring.
...
Now hijacking the ssh connection setup in the listener to exchange some information before passing the connection on to the SSH server.
Next step is to do the full exchange of required information and to make it easy some simple Read and Write methods with timeouts are needed that use gob.
2024-09-08 11:16:49 +02:00
Erik Brakkee
d839583f7b
communication between agent and server. Removed the flags libray for command-line parsing.
...
Heartbeat mechanism from client to server over the custom connection for sending events to guarantee that the connectoin stays up.
2024-09-08 11:16:48 +02:00
6f4929301d
status update now reported to the server. More robustness needed.
2024-09-08 11:16:48 +02:00
f862f31832
every user login resets agent expiry now.
2024-09-08 11:16:48 +02:00
ddc3b24ebf
clean solution for concurrence in session.go by serializing all external calls (apart from initialization) through a channel.
2024-09-08 11:16:48 +02:00
Erik Brakkee
7351fdaf9c
welcome message for users now specific for windows and linux
...
monitoring of hold file changes and messaging to users to provide more
interactivity
2024-09-08 11:16:48 +02:00
9b2e8709fb
added fsnotify example, to check bahavior on windows.
2024-09-08 11:16:48 +02:00
Erik Brakkee
8c44943a48
* fixes for windows
...
* detect kill ssh session
* include sftp session in the count of ssh sessions
* log session type in the agent
2024-09-08 11:16:48 +02:00
Erik Brakkee
2f40f86294
cross compilation on windows working.
...
pty.Start() is not supported on windows
2024-09-08 11:16:48 +02:00
9fc0241d08
lots of work to make it actually work.
...
Icluding the server keep alive interval.
Fix where expiry duration was added twice.
2024-09-08 11:16:48 +02:00
aa46ed7b5c
Lots of work on docuemtation. The docs page now shows the correct
...
installation dependent URLs. For now using ServerALiveInterval
to avoid disconnects.
2024-09-08 11:16:48 +02:00
85caa6cb5a
simple session management solution with a .hold file and messages to the
...
user with better formatting.
2024-09-08 11:16:48 +02:00
e945e7453b
basic session management is now implemented.
2024-09-08 11:16:48 +02:00