-
-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: SSH Connection not Working #4634
Comments
Can you please run the following command and share the output?
This will help us determine if Docker is running in rootless mode which could be related to the issue. |
Shellhub is running underneath proxmox in an unpriviliged LXC Container, in case that matters.
|
Thanks for the additional information. Since ShellHub is running inside an unprivileged LXC container, this is likely the root cause of the issue. |
Running as a priviliged LXC Container does result in the same error (same logs) |
Since the issue persists, it indicates that the restriction might be coming from other factors within the LXC environment on Proxmox. Even in a privileged LXC container, Proxmox may be restricting the use of time namespaces by enforcing additional security restrictions through AppArmor or seccomp. I'm not a Proxmox expert, but it's clear that something is blocking access to the time namespace in your environment. This restriction needs to be addressed for If modifying the LXC configuration or host settings is not an option, you might need to use the ShellHub binary directly. |
The nsenter Error only consists when connecting to another docker agent. When the Standalone option is used the error does not appear, however this log entry does still occour on the server side.
|
After Installing the Server in an VM and investigating some more i found these logs in the Client.
|
Description
SSH Connections immediatly disconnects after authentication is complete.
Note: nsenter: reassociate to namespace 'ns/time' failed: Operation not permitted only happens when using docker as an agent.
Steps to Reproduce
Connect to any Machine
Expected Behavior
Terminal Connection should be established successful.
Edition
Community
Version
0.18.0 or 018.3, same thing happenend
Related Logs
Related Code
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: