Displaying 20 results from an estimated 10000 matches similar to: "[Bug 1304] SSH session cleanup problem"
2008 May 15
0
"ServerAliveInterval" and "ServerAliveCountMax" doesnt work in openssh50?
Hi OpenSSH team,
We found that openssh5.0 has a bug with the "ServerAliveInterval" and "ServerAliveCountMax" options.
This function doesnt work at all, which means when the Maxtime reached, the ssh will not kill the connection and prompt the infomation "Connection Timedout" as it used to do.
We built the openssh5.0p1 code on the a Linux box, and use the
2008 May 16
4
[Bug 1465] New: "ServerAliveInterval" and "ServerAliveCountMax" doesnt work in openssh50?
https://bugzilla.mindrot.org/show_bug.cgi?id=1465
Summary: "ServerAliveInterval" and "ServerAliveCountMax" doesnt
work in openssh50?
Classification: Unclassified
Product: Portable OpenSSH
Version: 5.0p1
Platform: Other
OS/Version: HP-UX
Status: NEW
Severity: critical
2007 Mar 08
1
Tip for SSH users with connection unexpectedly closed troubles
Thanks for rsync - it's great! I use it for all my backups.
I use rsync via SSH. Recently - I was having trouble with my backups:
rsync: connection unexpectedly closed (4968349 bytes received so far)
[receiver]
rsync error: error in rsync protocol data stream (code 12) at
io.c(453) [receiver=2.6.9]
After following all the steps in the FAQ and issues.html on the rsync
website, searching the
2013 Apr 25
4
Why doesn't SIGTERM quit gracefully?
Hi,
I''m wondering why SIGINT and SIGTERM both were chosen for the quick
shutdown? I agree with SIGINT but not with SIGTERM. A lot of unix
tools send SIGTERM as default (kill, runit among some) and it seems to
be the standard way of telling a process to quit gracefully but not
among Ruby people (there are a few other ruby processes behaving the
same way). I just think it''s weird
2018 Mar 20
0
rsync time machine backup permissions
What is the order that rsync uses to set permissions?
Time Machine directories have ACL permissions that basically prohibit making any changes of any kind. In order to make a backup of the directory, you would need to set those permissions after copying everything in the subdirectories.
Is rsync smart enough to do it in that order?
On 2018-03-19, at 10:44 PM, Andre Althoff via rsync <rsync
2018 Mar 20
4
rsync time machine backup permissions
That doesn’t work too. :-(
Last login: Mon Mar 19 19:18:16 on console
iMac:~ andre$ mount
/dev/disk0s2 on / (hfs, local, journaled)
devfs on /dev (devfs, local, nobrowse)
map -hosts on /net (autofs, nosuid, automounted, nobrowse)
map auto_home on /home (autofs, automounted, nobrowse)
/dev/disk2 on /Volumes/G-DRIVE Thunderbolt 3 (hfs, local, nodev, nosuid, journaled, noowners)
iMac:~ andre$
2007 Dec 14
3
Enabling ServerAliveInterval by default
Hi,
In the last several years, I noticed an annoying problem with ssh:
Long-running ssh connections are automatically disconnected after just a
few minutes of inactivity. This problem effects both interactive sessions
(using ssh without screen(1) became almost impossible...) as well as ssh port
forwarding and the likes.
I never noticed this problem until about 6 years ago, but since then have
2008 Dec 12
4
Can't connect client when runned from Windows Service
Hi,
I have a client on a Windows machine that connects through openssh on a
linux server.
I have this script (tunnel.cmd):
@echo off
:RUN echo Connecting?
"C:/Program Files/OpenSSH/bin/ssh.exe" -R 40201:localhost:50300 -o
TCPKeepAlive=no -o ServerAliveInterval=15 -o ServerAliveCountMax=2 -i id_rsa
visma at 10.55.40.123
echo Restarting in 10 seconds?
GOTO RUN
It is runned from another
2006 Apr 22
2
bug & patch in ServerAliveInterval (openssh 4.3-p2)
Hi openssh-unix-dev subscribers :)
I have found that ServerAliveInterval & ServerAliveCountMax have
some bug. Basically the ssh-alive check function (that verify the
peer is alive) is called only if no data at all gets into ssh (when it
should work only for server channel).I am pretty sure developers know
about this ..anyway I have tried to fix this issue. Here is the patch:
diff -rNu
2014 Jan 09
0
ServerAliveCountMax (and Client) waits for TCP timeout before process exit
I am of the opinion that ClientAliveCountMax should really force a
disconnection from the testing side when a ping-pong control packet
retransmission would exceed the max counter.
But it appears to need TCP to timeout to occur from that point, for the
process/tty to close.
For SSH client options:
-o ServerAliveInterval=60
-o ServerAliveCountMax=3
Should cause the client to force an
2010 Feb 09
0
[Bug 1712] New: partial server keep-alive implementation for SSH1
https://bugzilla.mindrot.org/show_bug.cgi?id=1712
Summary: partial server keep-alive implementation for SSH1
Product: Portable OpenSSH
Version: 5.3p1
Platform: Other
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: ssh
AssignedTo: unassigned-bugs at mindrot.org
2018 Feb 12
4
Problem with ssh disconnecting
Running CentOS 7 on workstation and having a problem with ssh disconnects. My ssh_config contains:
Host *
TCPKeepAlive yes
ServerAliveInterval 30
ServerAliveCountMax 300
and sshd_config on the server contains:
TCPKeepAlive yes
ClientAliveInterval 60
ClientAliveCountMax 300
Have I missed any setting needed to prevent these random disconnects? I don't think there is anything wrong with the
2019 Dec 26
0
Problem with disconnecting SSH-sessions
On 12/26/2019 05:05 PM, H wrote:
> On 12/26/2019 04:45 PM, Gordon Messmer wrote:
>> On 12/26/19 12:59 PM, H wrote:
>>> Are my observations above still consistent with your hypothesis?
>>
>> Largely, yes.? I'm not sure why you'd be disconnected while transferring data (one of scp or sftp, right?), but it sounds like a DNAT-related limit.
>>
>>
2002 Nov 18
0
signals and ssh
hi, please test this. if ssh is called with SIGINT ignored (e.g.
from a backup system, with rmt) then ssh should not overwrite set
it's own handler.
Index: clientloop.c
===================================================================
RCS file: /cvs/src/usr.bin/ssh/clientloop.c,v
retrieving revision 1.104
diff -u -r1.104 clientloop.c
--- clientloop.c 22 Aug 2002 19:38:42 -0000 1.104
+++
2018 Feb 13
4
Problem with ssh disconnecting
On 02/12/2018 07:24 PM, Liam O'Toole wrote:
> On 2018-02-12, H <agents at meddatainc.com> wrote:
>> Running CentOS 7 on workstation and having a problem with ssh
>> disconnects. My ssh_config contains:
>>
>> Host *
>> TCPKeepAlive yes
>> ServerAliveInterval 30
>> ServerAliveCountMax 300
>>
>> and sshd_config on the server contains:
2006 Sep 30
2
DO NOT REPLY [Bug 4139] New: Generator process (running as daemon) hangs after kill SIGINT.
https://bugzilla.samba.org/show_bug.cgi?id=4139
Summary: Generator process (running as daemon) hangs after kill
SIGINT.
Product: rsync
Version: 2.6.8
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned@samba.org
2012 Dec 14
0
[Bug 9502] New: Deamon deadlock at stop (SIGINT caught)
https://bugzilla.samba.org/show_bug.cgi?id=9502
Summary: Deamon deadlock at stop (SIGINT caught)
Product: rsync
Version: 3.0.7
Platform: x64
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: core
AssignedTo: wayned at samba.org
ReportedBy: jurij at ocslab.com
2007 Oct 02
3
[PATCH] SIGTERM and SIGINT handler to flush xentop -b outputs
# HG changeset patch
# User inakoshi.hiroya@jp.fujitsu.com
# Date 1191287395 -28800
# Node ID 5543e74774a826b1781893982ed5052312b820fc
# Parent 83239b2890723e0c06bad507bb273a970784b18e
Flush stdout when xentop -b gets SIGINT and SIGTERM.
It is useful when you stop xentop -b by keyboard interrupt or by other
programs such as killall from a batch script.
You would have missed the bottom part of
2010 Aug 02
7
Persistent SSH sessions
Hi all
I have an ADSL modem which reboots when there is a power cut and the
inverter (UPS) kicks in. Internet access is down for a duration of 1
to 2 minutes while the modem boots.
I have many SSH tunnels and shells active. Due to the default
"TCPKeepAlive On" setting, these sessions are terminated almost
immediately.
I tried the following configuration:
sshd_config on server:
2018 Jan 02
3
Restricting port forwarding on remote server
> From: Juanito <juam at posteo.net>
>
> If I create a tunnel like this from the client side,
>
> ssh -nNTv -o ServerAliveInterval=60 -o ServerAliveCountMax=3 -o
IdentitiesOnly=yes -o UserKnownHostsFile=$known_hosts_file -i
/etc/sshquare/id_rsa -R $port:localhost:22 $user@$host
>
> would it be possible on the server side to restrict $port to say 10000
> and