Pular para o conteúdo

Automate a login with a macro

Este conteúdo não está disponível em sua língua ainda.

A macro is a snippet whose Kind is Macro. Run it like any snippet.

Put one step per line in Steps:

send sudo -i
wait for "password for"
send secret identity "Ops admin"
wait for /[#$] $/ 10s
send systemctl restart nginx
  • send types the rest of the line and Enter, with variables and built-ins filled in.
  • wait for "text" or wait for /pattern/ waits for that output, 30 seconds unless you give a time.
  • send secret identity "Name" types that identity’s saved password, key "Name" a key’s passphrase, and host "Name" a host’s saved password.
  • pause 2s waits. A line starting with # is a comment.

A secret is typed only:

  • into a terminal it belongs to (a host’s password into a session to or through that host), never a local terminal;
  • right after a wait whose line is still the last one, and is a password prompt ending in :.

It never reaches the window, scrollback, recordings, logs, AI or a shared session. If another password prompt follows (a wrong password) or none comes, the macro stops and types nothing more. Locking the app stops every macro.

A macro only reaches secrets in its own vault, so one shared with a team can’t type your personal passwords.

© 2026 IRONPINE LABS LLC
ALL RIGHTS RESERVED.