DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-07-05 16:11:04

bliko
Member
Registered: 2008-02-03
Posts: 6

Dropbear Keep Alive

Hi,

I'm connecting to the dropbear ssh server remotely(for rsync backup) using a cron job.  However, the connection always terminates before the rsync transfer has finished...the ssh session keeps timing out according to logs.

I was wondering how to set the dropbear sshd to send a keep alive?

normally I'd put:

KeepAlive yes

ServerAliveInterval 30

in a file: ~/.ssh/config 

but i'm not sure what do with the dropbear sshd provided with the fun_plug, I'm not sure:

a) where the config file is stored
b) what it's  named as
c) what the correct keepalive syntax is

If anyone knows; i'd be very greatful for your help.

Thanks!

Offline

 

#2 2008-07-08 19:20:13

bliko
Member
Registered: 2008-02-03
Posts: 6

Re: Dropbear Keep Alive

*bump*  .... nobody knows about keep alive settings for dropbear in fun plug?

Offline

 

#3 2008-07-08 19:29:39

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: Dropbear Keep Alive

bliko wrote:

*bump*  .... nobody knows about keep alive settings for dropbear in fun plug?

google knows.

http://matt.ucc.asn.au/dropbear/CHANGES

Code:

...
0.50 - Wed 8 August 2007
...
- Add -K <keepalive_time> argument, ensuring that data is transmitted
  over the connection at least every N seconds.

does this answer your question?

Offline

 

#4 2008-07-08 19:45:49

bliko
Member
Registered: 2008-02-03
Posts: 6

Re: Dropbear Keep Alive

Thanks...for some reason i couldn't find it.

Anyway, it's working now, thanks again.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB