Hello,

You can also use the -batch flag for the plink command, that will automatically 
avoid prompting for anything.

Jean-Louis

> On 16 Oct 2017, at 12:54, Misi Mladoniczky <m...@rrr.se> wrote:
> 
> **
> Hi,
> 
> I think it might be a problem with the host key, and that when you run it 
> from the ARServer, plink does not know about the key of the foreign unix 
> machine.
> 
> A workaround I saw on the net goes like this, and would requires a slight 
> change to your bat file:
> cmd.exe /c echo y | C:\plink -l **** -pw ***** stemipt 
> /usr/opt/temip_tttls/Runtime/OpenCTI.sh CLOSE "$Request ID$"
> 
> The idea is to automatically say "y" to the host key acceptance prompt.
> 
> https://u1941115.ct.sendgrid.net/wf/click?upn=rCfwYk9dvRtSMEgcmZyTDOJzZTc5-2BuFbghUC8-2FecVY4waJ07OoNDoiO4dkeSW8aZlUOZ5jmlVFyua7efh2g0PrbblNKKXlef9xG9eS035Jg-3D_cufojti4v5Gi1CwX3FSQ1oz2a-2Fp0jHyKJq2uc6Mms3-2F6m4AGmBlAtPaupye9WfDIamghEQYldzbJVxWgUVGRknof50wsfsFWzeiVo3-2F8r0gC-2FUq2pBx8Zt-2B6-2F-2FTZe4hdw77GvJowRYjYVZORxFj0O-2FqBaghGdk-2F6D7HGBPCUpOpqxDT7gMSZ9bc7SgYX4KA74LKmy8yMZGzUPsFSNwGmWQ-3D-3D
>  
> <https://u1941115.ct.sendgrid.net/wf/click?upn=rCfwYk9dvRtSMEgcmZyTDOJzZTc5-2BuFbghUC8-2FecVY4waJ07OoNDoiO4dkeSW8aZlUOZ5jmlVFyua7efh2g0PrbblNKKXlef9xG9eS035Jg-3D_cufojti4v5Gi1CwX3FSQ1oz2a-2Fp0jHyKJq2uc6Mms3-2F6m4AGmBlAtPaupye9WfDIpOl8ksLstyoVjOmzWjJx-2BE-2Fokybbajoi97O90rGu7i5-2Bd-2BCLqcstmYuQ2LELjqjYACMo0r0y7Lm-2Byv3JOmSc8i-2B3XGWVo1ikY5s36rhez6hVjSRRkSfoM1QmQSLClNxK3v15sKpA9WNfHSwTjCuqzw-3D-3D>
> 
> Best Regards - Misi, RRR AB, 
> https://u1941115.ct.sendgrid.net/wf/click?upn=7VZ2B1f3jupFzogQeIN6tnO-2FKFMfq-2BTA58ytrekB1j4-3D_cufojti4v5Gi1CwX3FSQ1oz2a-2Fp0jHyKJq2uc6Mms3-2F6m4AGmBlAtPaupye9WfDIoSPz6Pp7gZv9tyvBE8oappbHqEu2I3B4LXg6dZQhBY5Ozau4Buj8tSVSbMH-2FF-2Blp2qPyFXjqVafS0Q1BOVQRSOFKNLz4JvF-2FbsHm-2Fy9c4Hi920w26Za4QmftGUP4V8MYp3GYPnAE2c2duOM3L1lI8A-3D-3D
>  
> <https://u1941115.ct.sendgrid.net/wf/click?upn=7VZ2B1f3jupFzogQeIN6tou5n-2BYW-2FY4vn4so5mIxw30-3D_cufojti4v5Gi1CwX3FSQ1oz2a-2Fp0jHyKJq2uc6Mms3-2F6m4AGmBlAtPaupye9WfDIXtJPpMQXBAqizMreN49iCTZVHyB-2B2qpSrEsnUeoU-2Fh9L2sHOH953NR9SqSrXExtUPR9mzG60f7vCm655yX0VkjRuEybKd-2B-2Fyb5O474IItJ9ElEXki2WZ9cIvxzX0WS3XgCzeIkVOY5JDjYGp-2BVMPIW-2FiJ4aYILR39cNayJXZIL4-3D>
>  (ARSList MVP 2011)
> 
> Ask the Remedy Licensing Experts (Best R.O.I. Award at WWRUG10/11/12/13)
> * RRR|License - Not enough Remedy licenses? Save money by optimizing.
> * RRR|Log - Performance issues or elusive bugs? Analyze your Remedy logs
> Find these products, and many free tools and utilities, at 
> https://u1941115.ct.sendgrid.net/wf/click?upn=SJo55mYUNdVMDFE7yeTOs1Dd8YSM-2FzykkzpVRWz2uXo-3D_cufojti4v5Gi1CwX3FSQ1oz2a-2Fp0jHyKJq2uc6Mms3-2F6m4AGmBlAtPaupye9WfDIsadNk8aWopbpfIhcxTmMOATHskQZ6a5cEDYeMGW4acO9ccc8dcfC6g9g-2BCcICzEkpiCbgIV5RU4CWoyP-2FyMgRQrLu7dM-2F-2BqJ8abaPL5R4PIHkPHpJt9NPmRMhVLyrYM8EvVWsGammYktUPpXKmEmog1GrwF1Zz15o-2FR47x6dAew-3D
>  
> <https://u1941115.ct.sendgrid.net/wf/click?upn=SJo55mYUNdVMDFE7yeTOs7ctTndcsK0KNxIBTlo-2FRs0-3D_cufojti4v5Gi1CwX3FSQ1oz2a-2Fp0jHyKJq2uc6Mms3-2F6m4AGmBlAtPaupye9WfDIkh7oAq1-2Beva-2FZiCV7KDa04XxiQKek5ejBdeeuIDMSQnzd9OoRsE2QQNza6HR-2BeG39noUB5Ki3nigqcfywLbdORnPUEU9fOUKs832E-2B8UBWqxGRvCn0uw2yrepkePQPzdb7mCrrsQhJbZfFJ3Obh-2FnIfkvfZz8LVuky9poaMXmUg-3D>
> 
> 
> 
> 
> October 16, 2017 12:34 PM, "Abhi$hek" <abhi.masc...@gmail.com 
> <mailto:%22Abhi%24hek%22%20<abhi.masc...@gmail.com>>> wrote:
> **
> Thanks for your kind response.
> Yes normal TXT files creation is working fine and u can see in my earlier 
> mail that already authentication are provided for the Unix box location.
> Please suggest on how to achieve the filter run process part with the help of 
> any sample
> On 16-Oct-2017 2:28 PM, "Misi Mladoniczky" <m...@rrr.se <mailto:m...@rrr.se>> 
> wrote:
> 
> Hi,
> 
> So does this script run as expected when you run it manually?
> 
> You have to configure sshd on the unix box to allow remote calls, and you 
> need to set it up with public-key authentication without a passphrase. Or 
> something like that... There are ample instructions on the internet for this.
> 
> Best Regards - Misi, RRR AB, 
> https://u1941115.ct.sendgrid.net/wf/click?upn=7VZ2B1f3jupFzogQeIN6tnO-2FKFMfq-2BTA58ytrekB1j4-3D_cufojti4v5Gi1CwX3FSQ1oz2a-2Fp0jHyKJq2uc6Mms3-2F6m4AGmBlAtPaupye9WfDIzzKmV29jRmuiGhUW4TyOrpMb8sKIspmt-2F7ULQl1q0xiKusLKbAR3KoDR38OP4aOpXLnO-2FWher0LGiY9LpQecVybCskC-2FGCWxzAf1ujJT5T4u3DrfJWd5qTu4d0x7usT9Dn-2FQ9XEu1ejL3CtuKUVh7Kl0MgtVq0icm-2BVsDLgY90g-3D
>  
> <https://u1941115.ct.sendgrid.net/wf/click?upn=7VZ2B1f3jupFzogQeIN6tou5n-2BYW-2FY4vn4so5mIxw30-3D_cufojti4v5Gi1CwX3FSQ1oz2a-2Fp0jHyKJq2uc6Mms3-2F6m4AGmBlAtPaupye9WfDIalNZmam2OdG5vZbB3u6QE2gwMjVpZFowNYwwaV3GBLHmGAZAMIWPEhfHh95Fl4d08ruwQsfdm6HhiVKNF6RRuJaIeeIj2NJDh7Pehas8oMoc5OUqcSjfxteJUAWcXp13mUHZ4oY1K0veJ078DL66aBXLAhQcKs7o8rBVoQUCRLE-3D>
>  (ARSList MVP 2011)
> 
> Ask the Remedy Licensing Experts (Best R.O.I. Award at WWRUG10/11/12/13)
> * RRR|License - Not enough Remedy licenses? Save money by optimizing.
> * RRR|Log - Performance issues or elusive bugs? Analyze your Remedy logs
> Find these products, and many free tools and utilities, at 
> https://u1941115.ct.sendgrid.net/wf/click?upn=SJo55mYUNdVMDFE7yeTOs1Dd8YSM-2FzykkzpVRWz2uXo-3D_cufojti4v5Gi1CwX3FSQ1oz2a-2Fp0jHyKJq2uc6Mms3-2F6m4AGmBlAtPaupye9WfDICaa2glZ6R93nBY1-2BgcAiQ4MjymY0OeiGNa2UzMyEe3k0s287EEhxuU2oS1dkmRyw2jvrpzYiUiZveEYJhOzs8OQHZmVxbqQt9MXc7-2BnEUtnEXcESHRuTUTJwevgImkLahvMUsycpWdgV4cPdAol6WeofPcIudQX-2F4DQshR2TheY-3D
>  
> <https://u1941115.ct.sendgrid.net/wf/click?upn=SJo55mYUNdVMDFE7yeTOs7ctTndcsK0KNxIBTlo-2FRs0-3D_cufojti4v5Gi1CwX3FSQ1oz2a-2Fp0jHyKJq2uc6Mms3-2F6m4AGmBlAtPaupye9WfDIh73AOrsIFXt2yvsD0f1Sxb7kohFMUKhjXr-2BK-2FaypmJj6-2F-2B6F96k-2BMVeWxUtx-2BnmGLlutpKXrdSEKJIpuo6BkWsQIXc6PUaWptlZ3659ZtFrBJWaNWR4D1adrUXQ-2F6wfEDE-2BOj7RYdCX2FBai6TtIH7DzF9p3lK4sBhz0wZTVafQ-3D>
> 
> 
> October 15, 2017 8:45 AM, "Abhishek Anand" <abhi.masc...@gmail.com 
> <mailto:abhi.masc...@gmail.com>> wrote:
> 
> > Hi Experts,
> >
> > How to call a .sh script located in remote unix box from the remedy server 
> > 8.1 on windows using the
> > FILTER Run Process command?
> >
> > I have designed the close_tt.bat file in my local system which in turn is 
> > calling below script
> > residing on remote server:-
> >
> > C:\plink -l **** -pw ***** stemipt /usr/opt/temip_tttls/Runtime/OpenCTI.sh 
> > CLOSE "$Request ID$"
> >
> > I am using below logic in FILTER Run Process command line but its failing :-
> >
> > cmd /c C:\Users\An******\Desktop\close_tt.bat "$Request ID$"
> >
> > Early response will be highly appreciated.
> >
> > Regards,
> > AA
> >
> > _______________________________________________________________________________
> > UNSUBSCRIBE or access ARSlist Archives at www.arslist.org 
> > <https://u1941115.ct.sendgrid.net/wf/click?upn=7VZ2B1f3jupFzogQeIN6tg9L5UVbpPDRqiKFBJDoW7M-3D_cufojti4v5Gi1CwX3FSQ1oz2a-2Fp0jHyKJq2uc6Mms3-2F6m4AGmBlAtPaupye9WfDI44HBm90XDoN9QymdtnKUbBXudQv44N0re4-2FUyJXCxux3as88rYnDy5RXjh-2F5hkhPuimRxo6kMTZ-2FXhhRGZEItcaVm95t-2FY7AmqPbNzd26aSFVnb7vtI36S9eslGpf5wJ-2FM4tH30IbopPpjqkDRW9sqFYycyFPLBjjSBjj-2FBDlBM-3D>
> > "Where the Answers Are, and have been for 20 years"
> 
> _______________________________________________________________________________
> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org 
> <https://u1941115.ct.sendgrid.net/wf/click?upn=7VZ2B1f3jupFzogQeIN6tg9L5UVbpPDRqiKFBJDoW7M-3D_cufojti4v5Gi1CwX3FSQ1oz2a-2Fp0jHyKJq2uc6Mms3-2F6m4AGmBlAtPaupye9WfDIt2yCDWkGo86oARiVmQ6iCM5MOJRbAi67hKkgq4jRYohexhCDySLjstCTHkeQvUnnvMOpt07Q5vFi7mN7YQiDqqWGCHVCjWMvItJBrR7F8WxwI4GgSmjuUkyejLtbh6GB4KjXxbkkTPtsidgVaiIexB4RPW6PjgrAh6oIZ9-2B9gGo-3D>
> "Where the Answers Are, and have been for 20 years"
> _ARSlist: "Where the Answers Are" and have been for 20 years_
> _ARSlist: "Where the Answers Are" and have been for 20 years_


_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"

Reply via email to