1
vote
0answers
31 views

How to launch a SSH tunnel with upstart

I am not very used to sys admin and recently created an SSH tunnel between two servers (on Ubuntu 12.4) with the following command: ssh -fNg -L 3307:127.0.0.1:3306 tunneluser@xx.xx.xx.xx It worked, ...
-1
votes
2answers
287 views

Autossh error with upstart script: ssh exited prematurely with status 0 [closed]

I have set up the following upstart script on my raspbmc: # autossh description "autossh connections" start on started dbus stop on (runlevel [06] or stopped dbus) respawn respawn limit 5 60 # ...
0
votes
1answer
462 views

can't start ssh after upgrade ubuntu

When upgrading my system crashed, and now I can not start the service ssh root@elizium:/# stop ssh stop: Unknown job: ssh root@elizium:/# uname -a Linux elizium 2.6.24-19-server #1 SMP Wed Jun 18 ...
5
votes
1answer
3k views

Using Upstart to Manage AutoSSH Reverse Tunnel

I'm using upstart to manage a reverse SSH tunnel via autossh. When I do a "sudo start tunnel" the connection comes up just fine; however the command is not being automatically run when the networking ...