Appearance
How to SSH to a server?
We are using multiple servers: staging and production servers.
Here are the exact connection commands for these servers:
- Staging server:
ssh forge@staging.ixdf.dev -i ~/.ssh/id_rsa - Production server:
ssh forge@interaction-design.org -i ~/.ssh/id_rsa
If you have not done it before, you need to add your ssh private key for the server you want to connect via ssh.
Connecting these servers via ssh (using a terminal on *nix machines and a command line on Windows machines) allows you to control those servers by using the terminal. Terminal is an application of Ubuntu (which we use as operating systems on these servers). You can do pretty much everything.
SSH via Deployer
You can also use the scripts from the codebase. Run one of them on the root directory:
sh
./deployer.phar ssh staging
./deployer.phar ssh productionDon't have a deployer? Please use
sh
composer deployer:install