Forum Discussion

walkerline117's avatar
walkerline117
Contributor
8 years ago

Run ssh with Snaplogic script snap

if our Snaplogic groudplex is running on a unix machine, can i write a script with script snap to run a ssh command in my pipeline?

Thanks

8 Replies

  • johnhwhite's avatar
    johnhwhite
    New Contributor

    Were you able to find a solution for this? I was hoping to call ssh from a pipeline, possibly using something like JSch - Java Secure Channel (which Snap Logic seems to use for SFTP) or similar package.

    • walkerline117's avatar
      walkerline117
      Contributor

      yes, we figured it out.

      We used script snap with Python. Just few line of code. Simple enough

      • jzhang1's avatar
        jzhang1
        New Contributor

        can you share your code ? thank you a lot

  • christwr's avatar
    christwr
    Contributor III

    UNIX Execute Snap!? Is that something custom you have? I don’t see such a thing.

    • walkerline117's avatar
      walkerline117
      Contributor

      it must me a custom snap, you can ask your account manager to get it