slyfox Posted December 28, 2017 Share Posted December 28, 2017 How do I create a workflow that will pass multiple commands to the terminal with a pause in between? I am trying to simulate the following: Open terminal ssh nuc@192.168.1.3 Insert password Press return to submit password I tried the following workflow: keywords to open a terminal and enter ssh nuc@192.168.1.3 && sleep 2 && password && yes Alfred ends up entering everything as a single line Link to comment
vitor Posted December 28, 2017 Share Posted December 28, 2017 (edited) && password doesn’t work because it’s already a different command. Neither the problem nor the solution are Alfred-related; you need to get a more general solution. See this Stack Overflow question for your best options. Edited December 28, 2017 by vitor Link to comment
deanishe Posted December 29, 2017 Share Posted December 29, 2017 9 hours ago, slyfox said: I am trying to simulate the following If you can, set up public key authentication, and then turn off password authentication on the server. It's the proper way to do it. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now