Skip to content

Instantly share code, notes, and snippets.

@niraj-shah
Last active May 5, 2018 12:02
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save niraj-shah/80640bebccb27a917eba13ab785f1952 to your computer and use it in GitHub Desktop.
Save niraj-shah/80640bebccb27a917eba13ab785f1952 to your computer and use it in GitHub Desktop.
Laravel config/remote.php file
<?php
return [
'default' => 'test',
'connections' => [
'production' => [
'host' => '111.111.111.111:22',
'username' => 'prod',
'password' => '', // no password
'key' => 'path/to/private.key',
'keytext' => '',
'keyphrase' => '',
'agent' => '',
'timeout' => 10,
],
'staging' => [
'host' => '222.222.222.222:22',
'username' => 'staging',
'password' => 'stagingpass',
'timeout' => 10,
],
'test' => [
'host' => '3.3.3.3:3',
'username' => 'test',
'password' => 'testpass',
'timeout' => 10,
],
],
'groups' => [
'web' => ['production'],
],
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment