Skip to content

[BUG]SSH Session Handling #485

@flyer28l

Description

@flyer28l

Title

To many SSH Sessions open on managed Servers

Platform

Website - Chrome

Server Installation Method

Docker

Version

1.11.0

Troubleshooting

The Problem

For every SSH Connection to a Host there will be many SSH Sessions established, so when there is a MaxSessions entry in the /etc/ssh/sshd_config there will be issues at some time when the MaxSessions Value is reached. This happens very fast, if you use the Filemanager. Every click on a directory will open a new SSH Session. That should not happen. Winscp for instance is using only one Session to handle all requests to the System. The Server Statistics having Problems too with to many SSH Sessions.

So it would be good, if the Session Handling for SSH is redesigned.

How to Reproduce

Make a MaxSessions entry in the ssd_config on the Target Host. For instance 5.
Establish connections to the Host with Termix (Terminal, Server Stats, FileManager)
View the Sessions on the Target Host for example with ps -ef | grep ssh

The Server Stats will often not be viewed correctly and the FileManager will produce Errors.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    Status

    In review

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions