Skip to content

Instantly share code, notes, and snippets.

@niraj-shah niraj-shah/remote.php
Last active May 5, 2018

Embed
What would you like to do?
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
You can’t perform that action at this time.