Jump to content

ETN

Member
  • Posts

    8
  • Joined

  • Last visited

Everything posted by ETN

  1. Yes. Once I have ssh'ed in, it will be the same commands. The 1st step (ssh into the remote gateway server). The one-time password changes for each login, and can only be generated by external hardware. So it has to be a variable that I need to input each time I initiate the workflow.
  2. Nope... it seems even Spotlight doesn't work. I have tried to reset index, open spotlight preference and drag & remove the drive to force it to rebuild index also some terminal command .. still not working... I am on High Sierra. Not sure what is wrong ...
  3. I was trying to automate the following process: - Open Terminal and ssh to a remote gateway server using a one-time Password (passed in by user as an argument of workflow) - once I manage to ssh to the remove server, i would like to execute one or two terminal commands - exit and close the Terminal app. The challenge here is the gateway server uses one-time password that I have to generate externally from token. And gateway does not allow password-less login. I think these two points make scripting a bit more challenging. So I am wondering if workflow can automate the process the same way as human does.
  4. Hi, Thanks for the tips. I am new to workflow. I was not actually using any scripts for my ssh. My workflow opens the Terminal.app and I assume that was the interactive session? I am not sure what you meant by "exit with an error". I just notice my Terminal shows "Password:" and just wait for user to input password instead of using the arguments from my workflow. It seems that the workflow kind of stops when it sees "Password:" in the terminal?
  5. Hi, I have created a File Filter workflow and intended to find files in some of my network share-volumes (shared by other mac). I have added the volume path (/Volumes/Shared) to Search Scope but its seems nothing is found.. Has someone had ever done this kind of job or any idea why it doesn't work? Thanks!!
  6. Hi, I am trying to create a work flow that starts with keyword with argument with attempting to pass the user-input argument as a one-time password to a remote ssh server. (The remote ssh server does not accept ssh-key setup, OTP is the only option there :( ) But some how I never managed to succeed. I am wondering if someone knows how to do this or is this possible at all? Thanks! :)
×
×
  • Create New...