Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] ssh tunnel in background requires nohup?



Al Hoang wrote:
> desktop$ ssh somehost
> somehost$ ssh -f -n -N -L 8080:localhost:80  example@example.com
> somehost$ exit
> logout  <---- It sits here and hangs unless I terminate the ssh session forcibly
>               from machine named desktop.
>   

user screen or setup the tunnel in an init script.

desktop$ ssh somehost
somehost$ screen
somehost$ ssh -f -n -N -L 8080:localhost:80 example@example.com
C-d
somehost$ exit

Edward


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links