DarkAssassinator commented on issue #11652: URL: https://github.com/apache/dolphinscheduler/issues/11652#issuecomment-1250031996
> Please make things simple. We just only want to execute command in remote server. just like `ssh [email protected] "echo 'hello world'"`. > > My suggestion is as follows: > > 1. So we just add a ssh server source, config ip、port、username、 password or select a id_ras.pub file from Resources to use login with key-based authentication. > > <img alt="image" width="591" src="https://user-images.githubusercontent.com/13765310/190841320-79961704-a4ac-46a9-8ae6-17d73fcd2d3e.png"> > > 2. Select the ssh server source in Shell task。 > > <img alt="image" width="600" src="https://user-images.githubusercontent.com/13765310/190841512-10f65629-23b6-4531-8b6f-d851e36a8533.png"> > > 3. When server source exists in shell task, then ssh to server source to execute shell script. yes, but many task contain many resources file, cannot just a simply ssh command, and we need handle the stop/kill/timeout/failover -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
