Reputation
Top tag
Next privilege 125 Rep.
Vote down
Badges
3
Newest
 Student
Impact
~365 people reached

  • 0 posts edited
  • 0 helpful flags
  • 0 votes cast
Mar
4
awarded  Student
May
12
comment Solaris SMF for ssh tunnel
Adding sleep() after ssh doesn't work because ssh will return a failure first before sleep is called.
May
12
comment Solaris SMF for ssh tunnel
Timeout_seconds is the number of seconds to wait before killing the process, not the duration to wait before retrying. timeout_seconds=0 means an unbounded limit, i.e., wait forever before killing the process. Unfortunately, ssh returns a failure immediately if it cannot connect, which is why SMF tries to connect again immediately. Adding sleep() to the process is not an option before running ssh because I need it to connect immediately if the web server reboots.
May
11
awarded  Editor
May
11
revised Solaris SMF for ssh tunnel
added 242 characters in body
May
11
asked Solaris SMF for ssh tunnel
May
11
awarded  Autobiographer