@@ -18,52 +18,52 @@ composer require stechstudio/laravel-ssh-tunnel
18
18
```
19
19
## Configuration
20
20
All configuration can and should be done in your ` .env ` file.
21
- ``` ini
22
- ; Process used to verify connection
23
- ; Use bash if your distro uses nmap-ncat (RHEL/CentOS 7.x)
21
+ ``` env
22
+ # Process used to verify connection
23
+ # Use bash if your distro uses nmap-ncat (RHEL/CentOS 7.x)
24
24
TUNNELER_VERIFY_PROCESS=nc
25
25
26
- ; Path to the nc executable
26
+ # Path to the nc executable
27
27
TUNNELER_NC_PATH=/usr/bin/nc
28
- ; Path to the bash executable
28
+ # Path to the bash executable
29
29
TUNNELER_BASH_PATH=/usr/bin/bash
30
- ; Path to the ssh executable
30
+ # Path to the ssh executable
31
31
TUNNELER_SSH_PATH=/usr/bin/ssh
32
- ; Path to the nohup executable
32
+ # Path to the nohup executable
33
33
TUNNELER_NOHUP_PATH=/usr/bin/nohup
34
34
35
- ; Log messages for troubleshooting
35
+ # Log messages for troubleshooting
36
36
SSH_VERBOSITY=
37
37
NOHUP_LOG=/dev/null
38
38
39
- ; The identity file you want to use for ssh auth
39
+ # The identity file you want to use for ssh auth
40
40
TUNNELER_IDENTITY_FILE=/home/user/.ssh/id_rsa
41
41
42
- ; The local address and port for the tunnel
42
+ # The local address and port for the tunnel
43
43
TUNNELER_LOCAL_PORT=13306
44
44
TUNNELER_LOCAL_ADDRESS=127.0.0.1
45
45
46
- ; The remote address and port for the tunnel
46
+ # The remote address and port for the tunnel
47
47
TUNNELER_BIND_PORT=3306
48
48
TUNNELER_BIND_ADDRESS=127.0.0.1
49
49
50
- ; The ssh connection: sshuser@sshhost:sshport
50
+ # The ssh connection: sshuser@sshhost:sshport
51
51
TUNNELER_USER=sshuser
52
52
TUNNELER_HOSTNAME=sshhost
53
53
TUNNELER_PORT=sshport
54
54
55
- ; How long to wait, in microseconds, before testing to see if the tunnel is created.
56
- ; Depending on your network speeds you will want to modify the default of 1 seconds
55
+ # How long to wait, in microseconds, before testing to see if the tunnel is created.
56
+ # Depending on your network speeds you will want to modify the default of 1 seconds
57
57
TUNNELER_CONN_WAIT=1000000
58
58
59
- ; How often it is checked if the tunnel is created. Useful if the tunnel creation is sometimes slow,
60
- ; and you want to minimize waiting times
59
+ # How often it is checked if the tunnel is created. Useful if the tunnel creation is sometimes slow,
60
+ # and you want to minimize waiting times
61
61
TUNNELER_CONN_TRIES=1
62
62
63
- ; Do you want to ensure you have the Tunnel in place for each bootstrap of the framework?
63
+ # Do you want to ensure you have the Tunnel in place for each bootstrap of the framework?
64
64
TUNNELER_ON_BOOT=false
65
65
66
- ; Do you want to use additional SSH options when the tunnel is created?
66
+ # Do you want to use additional SSH options when the tunnel is created?
67
67
TUNNELER_SSH_OPTIONS="-o StrictHostKeyChecking=no"
68
68
```
69
69
0 commit comments