no message

main
이범준 4 months ago
parent 2277f20719
commit 0c93b7476f

@ -34,9 +34,9 @@ public class SshSshTouch {
try {
String cmd = "";
String sshTouchPrefix = "sshpass -p tcs ssh -o StrictHostKeyChecking=no tcs@192.168.201.120 touch /home/tcs/touch/";
if(targetSys.equals("monitoring")) {
cmd = "sshpass -p tcs ssh -o StrictHostKeyChecking=no tcs@192.168.201.120 touch /home/tcs/touch/monitoring";
cmd = sshTouchPrefix+"monitoring";
} else {
}

Loading…
Cancel
Save