Jump to content

jaystang

Member
  • Posts

    1
  • Joined

  • Last visited

Everything posted by jaystang

  1. Hi All, I'm a new Alfred user. I've created a workflow that takes in an argument and opens a terminal to ssh into a server. Example: "a-ssh myserver" command will open up a terminal and run "ssh -i file.pem myuser@myserver". Works great. I'd like to take this a step further and map "myserver" to a snippet that contains an actual IP address (saving me from having to manage a host file). So for example I want to have a snippet with keyword "myserver" and snippet value "127.0.0.1" (or a real IP value). The command I would like to run in alfred is "a-ssh myserver" and have that open up a terminal and run "ssh -i file.pem myuser@127.0.0.1" by referencing the "myserver" snippet. Is this at all possible? Thanks!
×
×
  • Create New...