fly agent

The Fly agent is a background process that manages wireguard connections started by flyctl. Commands such as ‘fly ssh’ and ‘fly proxy’ use this agent. Generally, the agent starts and stops automatically. These commands are useful for debugging.


fly agent [command] [flags]

Available Commands

  • ping - Ping the Fly agent
  • restart - Restart the Fly agent
  • run - Run the Fly agent in the foreground
  • start - Start the Fly agent
  • stop - Stop the Fly agent


  -h, --help   help for agent

Global Options

  -t, --access-token string   Fly API Access Token
      --debug                 Print additional logs and traces
      --verbose               Verbose output

See Also

  • fly - The command line interface