- Server operating system version
- Ubuntu 22.04
- Plesk version and microupdate number
- Plesk Obsidian 18.0.69
Hi all,
I have access to the terminal with Putty or from the interface if I use the IP to access the UI, but if I go through the domain name the terminal is blank and a "broken connection" error pops up
it has no effect
panel.ini configuration :
I have access to the terminal with Putty or from the interface if I use the IP to access the UI, but if I go through the domain name the terminal is blank and a "broken connection" error pops up
Code:
plesk-ssh-terminal.service - Plesk SSH Terminal Backend Service
Loaded: loaded (/lib/systemd/system/plesk-ssh-terminal.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/plesk-ssh-terminal.service.d
└─options.conf
/usr/lib/systemd/system/plesk-ssh-terminal.service.d
└─respawn.conf
Active: active (running) since Wed 2025-04-16 14:14:16 CEST; 1h 59min ago
Main PID: 914 (plesk-ssh-termi)
Tasks: 7 (limit: 19054)
Memory: 7.1M
CPU: 30ms
CGroup: /system.slice/plesk-ssh-terminal.service
└─914 /usr/local/psa/admin/plib/modules/ssh-terminal/libexec/plesk-ssh-terminal.x86-64 --listen /run/plesk-ssh-terminal/backend.sock --connect-to "*:22"
Apr 16 14:14:16 plesk-hosting.mydom.org systemd[1]: Started Plesk SSH Terminal Backend Service.
Apr 16 16:11:15 plesk-hosting.mydom.org plesk-ssh-terminal.x86-64[914]: 2025/04/16 16:11:15 checkSameOrigin error: Origin header 'plesk-hosting.mydom.org' does not match request Host '192.168.1.30'
Apr 16 16:11:15 plesk-hosting.mydom.org plesk-ssh-terminal.x86-64[914]: 2025/04/16 16:11:15 remote=10.5.1.14 user=root WebSocket error: websocket: request origin not allowed by Upgrader.CheckOrigin
Apr 16 16:11:57 plesk-hosting.mydom.org plesk-ssh-terminal.x86-64[914]: 2025/04/16 16:11:57 remote=10.5.1.14 Session error: session with token ce514455207b063d5b5df5f1999feaa686d274df035491e62a13b2d4ec8443ab was not found
Code:
$ grep PermitRootLogin /etc/ssh/sshd_config
PermitRootLogin yes
Code:
Firewall :
SSH (secure shell) server => Allow incoming from all
it has no effect
Code:
$ /usr/local/psa/admin/sbin/modules/ssh-terminal/installer --update-configuration
Configuring to connect to *:22
$ systemctl restart plesk-ssh-terminal.service
panel.ini configuration :
Code:
extensionCatalogUrl = "/opt/psa/admin/conf/panel.ini.d/packages.json"
[webserver]
nginxClientMaxBodySize = 512m
[security]
sameOriginOnly = false
[updates]
updateDays = saturday,sunday
timeFrameStart = 11
timeFrameEnd = 18
[ext-nodejs]
showApplicationLogs = true
[websocket]
allow_any_origin = true
[ext-ssh-terminal]
rootAccessAllowed = true