Skip to content

Type a word or two, like firewall or rollback.

Open Coresmith
Browse the docs
Servers Checked against Coresmith 0.8.44.

Open a terminal on a server

Open as Markdown

A terminal gives you a shell on a server from your browser: install your own tools, run a service Coresmith doesn't manage, open an app's console or look around. Choose Terminal at the top of the server's page, or on an app's page to start as that app.

Who can open one

ShellWho can open it
As an app's userOwners, and developers on servers they added.
As rootOwners only, and only while Root terminals is on under Settings, Team.

Admins and deployers can't open a terminal. Root terminals starts on. Turning it off closes every root shell the team has open, and only owners can change it.

Open a terminal

  1. Choose Terminal at the top of the server's page.
  2. Under Open it as, choose Root, or An app's user and then the app. An app's shell starts in its live release, as the user the app runs as, with the app's runtimes on hand.
  3. Enter your password. A root shell asks for it every time, along with a code from your authenticator app if you use two-factor sign-in. An app's shell asks for it once every 15 minutes.
  4. Choose Open terminal.

You can have one terminal open on each server. Opening the page again takes you back to it.

Use it

  • Select text to copy it, or choose Copy.
  • Paste pastes what you copied. Pasting more than one line asks first and shows the lines, since each one runs as you'd typed it.
  • Find searches what the terminal shows.
  • On a computer, Full screen gives the terminal the whole screen.
  • On a phone, a row of keys adds Esc, Tab, Ctrl, the arrow keys and a few symbols the phone's keyboard hides.

Coresmith keeps no record of what you type or what the shell prints.

When it ends

A terminal ends on its own:

  • after 10 minutes without typing. Output doesn't count, so a log you're following still ends it. A minute before, a banner warns you, and Keep it open counts as typing.
  • an hour after it opened, however much you type. A banner warns you 5 minutes before.
  • when you leave the page, close the tab or lose your connection: after 30 seconds, or 90 if the tab was in the background. Reload before then and you're back where you were.
  • when you sign out, change your password or turn off two-factor sign-in, and when your role changes or you leave the team.
  • when the server stops being available, for example while it moves or when Coresmith can't reach it.
  • while Coresmith updates itself.

End session ends it yourself. Anything still running in the shell stops when it ends, so start long jobs in tmux, screen or with nohup.

What Coresmith checks afterwards

Coresmith looks after some things on every server: the web server's settings, each app's folders, processes, scheduled jobs and settings, the firewall, and its own sign-in key and account. Change anything else freely.

When a terminal ends, Coresmith checks those things and the summary names any that changed, with what happens next. For an app's folders, it checks whether they're there and their owners and permissions, not the files inside. For example, if the firewall rules changed, the server's Hardening tab shows what's open now and can put Coresmith's rules back. If Coresmith's key is gone, Coresmith can't reach the server, and the summary says how to put the key back. Each terminal, and anything its check found, also shows on the server's Activity tab.