search for: ssh_switches

Displaying 2 results from an estimated 2 matches for "ssh_switches".

2012 May 31
0
[SOLVED] Re: need assist with upstart config problem
...gt; background you could specify 'task' in the config file to tell > upstart not to wait for the process (you couldn't use respawn > with that because then the process is not managed by upstart > anymore). The problem in my script appears to be this: # SSH switches used: env SSH_SWITCHES="" env SSH_SWITCHES=${SSH_SWITCHES}" -nNqT -vvv " Upon further investigation I discovered that the env stanza does not expand previously defined variables. My attempt at concatenating values results in the key name being used instead of its value. In other words: '${SSH_SWI...
2012 May 30
1
need assist with upstart config problem
...tion alive every 15 seconds # -q : Run quietly, do not produce local output. # -T : disable pseudo-tty allocation # SSH options used env SSH_OPTIONS=" -o ExitOnForwardFailure=yes " env SSH_OPTIONS=${SSH_OPTIONS}" -o ServerAliveInterval=15 " # SSH switches used: env SSH_SWITCHES=" -fNqT " exec ${SSH_BINARY} ${SSH_OPTIONS} ${SSH_SWITCHES} -l ${LOGIN_USER} -i ${LOGIN_IDENT} -L ${LOCAL_HOST}:${LOCAL_PORT}:${REMOTE_HOST}:${REMOTE_PORT} ${LOGIN_HOST} # EOF The exec is all one line. I have tried removing -f from the switches but this makes no difference. Whenever...