Re: Kalıcı SSH tüneli
Merhaba,
* Cafer Şimşek [2006-01-02 00:18:57+0200]
> ssh ile açtığım tünelleri kalıcı yapmak nasıl oluyor?
>
> ssh -f -L 8080:www.domain.com:80 host.domain.com sleep 864000
>
> gibi birşeylerle açıyorum. Normalde 10 gün açık kalması gereken tünel
> herhangi bir bağlantı sağlandıktan hemen sonra kapanıyor.
'ServerAliveInterval' veya ProtocolKeepAlives' icin ssh_config(5)'den
alinti:
ServerAliveInterval
Sets a timeout interval in seconds after which if no data has
been received from the server, ssh will send a message through
the encrypted channel to request a response from the server.
The default is 0, indicating that these messages will not be
sent to the server, or 300 if the BatchMode option is set.
ProtocolKeepAlives is a Debian- specific compatibility alias
for this option.
~/.ssh/config dosyasina koyabileceginiz bu secenek (20 gibi bir degerle
mesela) isinize yarayabilir.
--
roktas
Reply to: