Direct code access
Published
Updated
💻
Talk is cheap. Show me the code.
SSH opens a shell on a fortrabbit environment, SFTP transfers files to and from it. Both sign in with the SSH keys of the personal account, for every environment the account can access.
Direct code access fits software that does not deploy well with Git, quick checks, and content that stays out of Git, such as uploads. It works alongside Git deployment.
SSH
SSH (Secure Shell) opens an interactive terminal session on the environment, to run Composer, artisan or other commands. The ssh client comes with macOS, Linux and Windows.
See the SSH guide.
SFTP
SFTP (SSH File Transfer Protocol) transfers files over an SSH connection, usually with a graphical client. For repeated transfers, rsync over SSH is faster.
See the SFTP guide.
SSH key authentication
Both need an SSH key; passwords are not accepted. Upload the public key to the personal account in the dashboard, see SSH key setup.
The key belongs to the person, not to an environment. It works on every environment the account can access, and adding or removing collaborators updates code access with it.