Sure I can. Here is the result of the commands executed from a Windows Bash 
shell:

traddatz@CNDEA041500 MINGW64 ~
$ ssh raddatz@10.200.36.33 echo "OK"
raddatz@10.200.36.33's password:
OK

traddatz@CNDEA041500 MINGW64 ~
$ ssh -t raddatz@10.200.36.33 echo "OK"
raddatz@10.200.36.33's password:
OK
Connection to 10.200.36.33 closed.

traddatz@CNDEA041500 MINGW64 ~
$ ssh -T raddatz@10.200.36.33 echo "OK"
raddatz@10.200.36.33's password:
OK

traddatz@CNDEA041500 MINGW64 ~
$ ssh raddatz@10.200.36.33 ssh -V
raddatz@10.200.36.33's password:
OpenSSH_6.9p1, OpenSSL 1.0.2r  26 Feb 2019

traddatz@CNDEA041500 MINGW64 ~
$



Am Montag, 17. Juni 2019 15:41:38 UTC+2 schrieb Ivan Fernandez Calvo:
>
> Can you execute a command on a remote ssh session on the agent? something 
> like the following commands `ssh USER@JENKINS_AGENT echo "OK"`, `ssh -t 
> USER@JENKINS_AGENT echo "OK"`, `ssh -T USER@JENKINS_AGENT echo "OK"`
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/201538fa-4748-4d10-97f5-16933e88b581%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to