Skip to main content

Create Profile on iTerm2 to Automate Ops

  • Go to Profiles > Open Profiles > Edit profiles
  • Press "+" and add new profile.
  • Give a name in "Basics" section on the right. e.g. "Server A SSH"
  • Deselect "Applications in terminal may change the title" option
  • Select "Profile Name" in "Title" dropdown list on the right
  • Write any command to execute when clicked in "send text at start" input. For example: "ssh -i private-key username@ip" (key file's path must be absolute)
  • Done. When click you just created "Profile", your command will be executed.

Unknown (2022-08-13 21:12:10)
#how-to