Bug #1862
SSH: change port from UI doesn't work
| Status: | CLOSED | Start date: | ||
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 100% | |
| Category: | nethserver-openssh | |||
| Target version: | v6.4-beta1 | |||
| Security class: | Resolution: | |||
| Affected version: | v6.4-alpha2 | NEEDINFO: |
Description
When changing SSH server port from UI the event nethserver-openssh-save must be fired and sshd server must be restarted and not simply reloaded.
Patch for UI:
--- /usr/share/nethesis/NethServer/Module/RemoteAccess/Ssh.php.ori 2013-04-10 15:44:38.266044841 +0000
+++ /usr/share/nethesis/NethServer/Module/RemoteAccess/Ssh.php 2013-04-10 15:48:14.269725587 +0000
@@ -86,6 +86,7 @@
}
if($this->saveEvent) {
+ $this->getPlatform()->signalEvent('nethserver-openssh-save@post-process');
$this->getPlatform()->signalEvent('nethserver-base-save@post-process');
}
}
Associated revisions
web ui: signal nethserver-openssh-save event. Refs #1862
History
#1
Updated by Giacomo Sanchietti over 8 years ago
- Status changed from NEW to ON_DEV
- % Done changed from 0 to 30
- Estimated time set to 0.50
#2
Updated by Giacomo Sanchietti over 8 years ago
- Status changed from ON_DEV to MODIFIED
- % Done changed from 30 to 100
Fixed.
#3
Updated by Davide Principi about 8 years ago
- Status changed from MODIFIED to CLOSED