serreri
New Pleskian
- Server operating system version
- Plesk Obsidian v18.0.65_build1800241122.08 os_Ubuntu 22.04
- Plesk version and microupdate number
- Plesk Obsidian Web Host Edition 18.0.65
Hello everyone,
I have always noticed that if you change the ssh port in /etc/ssh/sshd_config
eg: from port 22 to port 22xx
if you then log in to SSH Terminal of plesk after having changed the port from 22xx to port 22 again
then an infinitely repeated error occurs:
ssh: connect to host 127 .0.0.1 port 22xx: connection refuses
ssh: connect to host 127 .0.0.1 port 22xx: connection refuses
ssh: connect to host 127 .0.0.1 port 22xx: connection refuses
... etc
with a popup in plesk with the warning
CONNECTION INTERRUPTED.
If you do not exit the page immediately, the message repeating infinitely creates a problem for the server, blocking it with no way to intervene except locally.
Hoping to have been clear in my problem, it is this:
1. is there a cache that is maintained by SSh Terminal of Plesk?
2. if it exists, how to restore the functionality of the Ssh Terminal extension of plesk so that it reads the port correctly once changed??
I also tried to use:
systemctl restart plesk-ssh-terminal.service
after the server is back up and running, but Ssh terminal I don't know why it always sees the old port and not the new one, i.e. port 22.
I would like to uninstall SSh terminal but I'm afraid that doing so could create a problem for plesk
Hi everyone Thanks
I have always noticed that if you change the ssh port in /etc/ssh/sshd_config
eg: from port 22 to port 22xx
if you then log in to SSH Terminal of plesk after having changed the port from 22xx to port 22 again
then an infinitely repeated error occurs:
ssh: connect to host 127 .0.0.1 port 22xx: connection refuses
ssh: connect to host 127 .0.0.1 port 22xx: connection refuses
ssh: connect to host 127 .0.0.1 port 22xx: connection refuses
... etc
with a popup in plesk with the warning
CONNECTION INTERRUPTED.
If you do not exit the page immediately, the message repeating infinitely creates a problem for the server, blocking it with no way to intervene except locally.
Hoping to have been clear in my problem, it is this:
1. is there a cache that is maintained by SSh Terminal of Plesk?
2. if it exists, how to restore the functionality of the Ssh Terminal extension of plesk so that it reads the port correctly once changed??
I also tried to use:
systemctl restart plesk-ssh-terminal.service
after the server is back up and running, but Ssh terminal I don't know why it always sees the old port and not the new one, i.e. port 22.
I would like to uninstall SSh terminal but I'm afraid that doing so could create a problem for plesk
Hi everyone Thanks