EricGao888 commented on issue #11652:
URL: 
https://github.com/apache/dolphinscheduler/issues/11652#issuecomment-1250483654

   > 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.
   
   @zhuxt2015 @DarkAssassinator I'm +1 to this comment. Currently we could only 
manage connections for `datasource` task plugins instead of all task plugins. 
From my perspective, we could improve this feature and make it apply to all 
task plugins. Actually, we have a related issue here: #10283 but we haven't got 
time to design and implement it. Rather than configure ssh connections in 
`Security Center` or a totally new `Server Management Page`, I prefer to 
upgrade our current `Datasource Center` to `Connection Center` or 
`Configuration Center` and do it there. cc @caishunfeng @SbloodyS


-- 
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]

Reply via email to