ETN
-
Posts
8 -
Joined
-
Last visited
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by ETN
-
-
2 hours ago, deanishe said:
Are they interactive commands?
No , they are not.
-
2 minutes ago, deanishe said:
Always the same commands?
Yes. Once I have ssh'ed in, it will be the same commands.
4 minutes ago, deanishe said:Which of the steps you describe cannot be fully automated because they're actually different each time
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.
-
12 hours ago, deanishe said:
Does Spotlight find things on the volume?
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 ...
-
1 hour ago, deanishe said:
What exactly are you trying to achieve?
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.
-
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?
-
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!!
-
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! :)
Workflow to pass argument to Terminal as one-time password
in Workflow Help & Questions
Posted
It now works with sshpass!
Thanks a lot!