Skip to content
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

Internal server error: Unknown #4203

Closed
abolfazl260 opened this issue Jun 17, 2024 · 3 comments
Closed

Internal server error: Unknown #4203

abolfazl260 opened this issue Jun 17, 2024 · 3 comments

Comments

@abolfazl260
Copy link

Internal Error Stacktrace:

Error Message: [Errno 13] Permission denied: '/etc/ssh/sshd_config'

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/hiddifypanel/auth.py", line 114, in decorated_view
    return fn(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/hiddifypanel/panel/admin/Dashboard.py", line 67, in index
    if hutils.network.is_ssh_password_authentication_enabled():
  File "/usr/local/lib/python3.10/dist-packages/hiddifypanel/hutils/network/net.py", line 296, in is_ssh_password_authentication_enabled
    with open('/etc/ssh/sshd_config', 'r') as f:

Details:

Hiddify Version: 10.20.4
Python Version: 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]
OS: Linux-6.5.0-1022-azure-x86_64-with-glibc2.35
User Agent: Unknown

@Iam54r1n4
Copy link
Contributor

Check the file permissions, a normal permission for sshd_config is:

-rw-r--r-- 1 root root  /etc/ssh/sshd_config

@abolfazl260
Copy link
Author

command not found

@Iam54r1n4
Copy link
Contributor

Check the file permissions, a normal permission for sshd_config is:

-rw-r--r-- 1 root root  /etc/ssh/sshd_config

This isn't a command, its output of a command. The command is:

ls -l /etc/ssh/sshd_config

@ReturnFI ReturnFI closed this as completed Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants