mirror of
https://github.com/vale981/autossh
synced 2025-03-04 17:01:41 -05:00
changes example information
This commit is contained in:
parent
1ca2b1cb44
commit
4814d05563
1 changed files with 4 additions and 6 deletions
|
@ -7,12 +7,10 @@ const pg = require('pg').native; // install pg AND pg-native
|
||||||
|
|
||||||
/********** CONFIG *************/
|
/********** CONFIG *************/
|
||||||
const autosshConfig = {
|
const autosshConfig = {
|
||||||
host: parsedForm.sshHost,
|
host: '111.222.333.444',
|
||||||
username: parsedForm.sshUsername,
|
username: 'my_ssh_username',
|
||||||
localPort: 'auto',
|
localPort: 'auto',
|
||||||
remotePort: parsedForm.connectionPort,
|
remotePort: 5432
|
||||||
sshPort: parsedForm.sshPort,
|
|
||||||
privateKey: parsedForm.sshPrivateKey
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const pgConfig = {
|
const pgConfig = {
|
||||||
|
@ -20,7 +18,7 @@ const pgConfig = {
|
||||||
database: 'my_database',
|
database: 'my_database',
|
||||||
password: 'my_password',
|
password: 'my_password',
|
||||||
host: 'localhost',
|
host: 'localhost',
|
||||||
port: '5432'
|
port: 5432
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue