Verify OpenVPN tools over SSH
This commit is contained in:
@@ -14,6 +14,8 @@ public class SshTestController {
|
|||||||
|
|
||||||
@PostMapping
|
@PostMapping
|
||||||
public SshCommandResult test() {
|
public SshCommandResult test() {
|
||||||
return sshService.executeOnConfiguredVps("whoami && hostname");
|
return sshService.executeOnConfiguredVps(
|
||||||
|
"/var/litoral_regas_openvpn/tools/list-clients.sh"
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user