When i use ssh command to execute local script on remote server , I am unable to do it.
Please let me know how this can be done in ksh
req=abc
dte=ghd
ssh username@hostname "$req $dte" < run_script.sh
When i use ssh command to execute local script on remote server , I am unable to do it.
Please let me know how this can be done in ksh
req=abc
dte=ghd
ssh username@hostname "$req $dte" < run_script.sh
how do you run a local script in remote serer ?
copy the script to remote server and run it as
ssh user@host "sh /absolute/path/of/script"
cant we do it without copying ??? i want to execute local script