mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-06 05:15:49 +01:00
bug fix clustermanager
This commit is contained in:
@@ -25,7 +25,7 @@ class SSHServer(multi.Thread):
|
||||
def findSSHPort():
|
||||
try:
|
||||
|
||||
sshData = ProcessUtilities.outputExecutioner('cat /etc/ssh/sshd_config').readlines()
|
||||
sshData = ProcessUtilities.outputExecutioner('cat /etc/ssh/sshd_config').split('\n')
|
||||
|
||||
for items in sshData:
|
||||
if items.find('Port') > -1:
|
||||
|
||||
Reference in New Issue
Block a user