Skip to content

Remote access

Remote access lets your team reach machines that run Agent Functual over SSH, Remote Desktop, VNC or any other port. The machines don’t need a public address, an open inbound port or a VPN. They can sit behind NAT, a firewall or a mobile network, at a customer’s site or in the field.

You connect when you need to and disconnect when you’re done. Between connections, nothing on the machine listens for the internet.

  1. The agent keeps in touch. Agent Functual checks in with Functual every 30 seconds over an outbound HTTPS connection. It accepts only commands signed by Functual, and checks every signature itself.
  2. You ask to connect. In the console or with the command line, you pick a machine and what you want to reach, for example SSH. Functual checks your plan and sends the agent a signed request.
  3. The agent opens a tunnel. At its next check-in, the agent connects out to Functual’s proxy on connect.functual.com:443 and holds a tunnel for that one session.
  4. You connect through the proxy. Your SSH client, Remote Desktop app or browser reaches the machine through the tunnel. The agent passes the connection to the service on the machine itself (127.0.0.1), never to another host on its network.
  5. The session ends when you disconnect, after a time without traffic, at the plan’s longest session, or when someone closes it. The tunnel closes with it.

Connecting takes up to 30 seconds, because the agent picks the request up at its next check-in.

  • Agent Functual on the machine, enrolled and online. See Install the agent, or Device images for devices you ship.
  • The service running on the machine: sshd for SSH, Remote Desktop on Windows, Screen Sharing on a Mac, or your own server for any other port. It only needs to listen on the machine itself.
  • An owner or admin of the organization. Only owners and admins can use Agent Functual today.
  • A plan that includes the service. Every plan includes SSH, Remote Desktop and VNC; see Plans.
  1. At my.functual.com, open Agents and click Connect next to the machine, or on its page.
  2. The first time, add your SSH public key, for example the contents of ~/.ssh/id_ed25519.pub. You log in to the proxy with it. No key yet? Run ssh-keygen -t ed25519. Your keys are in Agents → Settings → My SSH keys. They’re yours: every member uses their own.
  3. Choose what to reach: SSH, Remote Desktop, VNC, web, databases or another port, as your plan allows. Choose how long the connection may sit without traffic before it closes.
  4. Click Connect and wait while the agent opens the tunnel.
  5. Copy the command for each service and run it on your computer:
    • SSH: ssh -J <session>@connect.functual.com -o HostKeyAlias=functual-<agent> <user>@localhost. Your SSH key gets you through the proxy. On the machine you log in to its own sshd with your usual account, so the machine’s host key and your login there are checked end to end.
    • Other ports: an ssh -N -L command that forwards the port to your computer, for example localhost:13389 for Remote Desktop or localhost:5901 for VNC. Web ports get a link to open.
  6. Disconnect when you’re done. You can also close the dialog: the connection stays open until you disconnect it in Sessions or it times out.

The functual command does all of this in one step. It needs no SSH key in the console, because it makes a throwaway key for each session:

Terminal window
functual login # once: sign in as yourself in the browser
functual ssh admin@web1 # a shell on web1
functual rdp "Windows VM" # Remote Desktop
functual forward web1 5432 # any port, here PostgreSQL on 127.0.0.1:5432

It’s the easiest way for a support team. Every connection and action is recorded under the person who made it.

Each connection is a session for one machine and the services you chose. A session ends when:

  • you disconnect, in the Connect dialog, in Sessions or by quitting the command;
  • nothing has gone through it for its idle time (you pick it when connecting; the default is in Agents → Settings → Remote access defaults);
  • it reaches the plan’s longest session;
  • someone closes it in Sessions;
  • the machine’s agent is removed, or the person who opened it leaves the organization.

Sessions lists the open sessions and the history: who connected, to which machine and services, when, and why each one ended. Connections and disconnections also appear in the Activity log.

Remote access is priced per connection: how many sessions your organization can have open at the same time. The number of machines and people doesn’t matter. A team of ten who rarely connect at once might need two connections.

Free Pro Business
Price $0 $8 per connection a month $16 per connection a month
Yearly $80 per connection $160 per connection
Machines 250 Unlimited Unlimited
Connections at a time 1 As many as you buy As many as you buy
Services SSH, Remote Desktop, VNC (Screen Sharing) Also web (HTTP and HTTPS) and databases Any port
Longest session 2 hours 8 hours 24 hours
Longest idle time 15 minutes 60 minutes 8 hours
Session history 7 days 90 days 1 year

Agents → Overview shows your plan. Buy a plan or change the number of connections in Account → Subscriptions. When all connections are in use, the next person gets a clear message until one closes.

The machines only make outbound HTTPS connections, on TCP port 443:

Host For
agent.functual.com Checking in and receiving commands
connect.functual.com Tunnels for remote access
laasio.functual.com The agent’s license check before a tunnel opens
pkgs.functual.com Updates

No inbound port is needed. If the machines go through a proxy that inspects TLS, let these hosts through unchanged.

Your team’s computers reach the proxy at connect.functual.com on TCP port 22 (SSH). Some offices and guest networks block outbound port 22. From such a network, connecting fails at the proxy. Use another network until it’s allowed, and let us know if this affects you.

  • Nothing listens on the machine. The agent only connects out, and only while a session is open.
  • Signed commands. The agent runs only commands signed with Functual’s key, addressed to it, within their validity, and never the same one twice. It checks its license for the session’s ports itself before opening a tunnel.
  • Only the machine itself. A tunnel reaches services on the machine (127.0.0.1), never other hosts on its network.
  • The proxy is verified. The agent checks the proxy’s host key from the signed request, and the command line checks it too.
  • Your login is checked twice. The proxy admits only the SSH keys of the person who opened the session (or the command line’s throwaway key) while it’s open. A deleted key stops working at once, even mid-session. The machine’s own sshd, Remote Desktop or VNC then asks for its own login.
  • End-to-end encryption, where the service has it. SSH, HTTPS, Remote Desktop and the database protocols that use TLS are encrypted from your computer to the machine; the proxy can’t read them. Plain HTTP, VNC and databases without TLS aren’t encrypted by the service, so their traffic is readable on the proxy. The console warns you about these.
  • Everything is recorded. Every connection, disconnection and change appears in the Activity log under the person or API key that made it.
What you see What to check
The machine shows as offline Is the agent running? Run functual status on the machine. Can it reach agent.functual.com:443?
Connecting stays on “Sending to the agent” The agent hasn’t checked in yet. If it doesn’t within a few minutes, the session fails as offline.
“Not in your plan” The service isn’t in your plan. See Plans.
All connections are in use Close a session in Sessions, or add connections in Account → Subscriptions.
The SSH command times out at the proxy Your network may block outbound port 22. Try another network.
Permission denied (publickey) at the proxy Use the key you added in My SSH keys, or connect with functual ssh.
Connected, but the service refuses The service must run on the machine and listen on 127.0.0.1 (or all addresses).