Displaying 20 results from an estimated 69 matches for "connecttimeout".
Did you mean:
connect_timeout
2009 Jan 07
2
Question about documentation for ConnectTimeout
Hello OpenSSH folks,
This was a really minor knit, but I noted while I was developing a
pexpect module for ssh that setting ConnectTimeout to 0 in the options
to ssh sets the login timeout to infinite time.
I was wondering whether or not this was a documentation bug and/or
potential clarification that could to be made, or if this was a
software bug that needs to be fixed. I don't see much point behind
infinite connect time, bu...
2018 Dec 09
2
[PATCH] Enable ConnectTimeout with ConnectionAttempts
Fix bug ConnectTimeout=N only works on the first ConnectionAttempts
https://bugzilla.mindrot.org/show_bug.cgi?id=2918
---
sshconnect.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/sshconnect.c b/sshconnect.c
index 4862da5e..b837a83a 100644
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -454,11 +454,1...
2016 Oct 20
5
-e escape rule
...entation prefers escaping whitespace with a backslash
rather than quotes. However, this appears to cause some kind of issue
in Rsync when it computes argv from -e option.
Here is an example command generated by some Ruby code:
rsync --archive --stats -e ssh\ -l\ backup\ -i\ /etc/synco/id_rsa\ -o\
ConnectTimeout\\\=60\ -o\ BatchMode\\\=yes --link-dest
../../latest/etc/ /etc/
example.backup.server.com:/tank/backup/servers/blah/latest.snapshot/etc/
We can check that something like this is valid:
files% echo foo\ bar\\\=baz
foo bar\=baz -- what Rsync should be receiving
files% echo foo bar\=baz...
2009 Dec 24
3
ConnectTimeout=2 not working for me
Hi all,
I have somewhat a strange problem that I could not figure out, maybe someone
here can lelp.
I have a script that uses scp to distribute files to many servers, I use '-o
BatchMode=yes -o ConnectTimeout=2 options so the scp will not get stuck if
something is wrong with the remote host.
If the remote host is down (non-pingable) or sshd is down the timeout option
works and the scp continues to the next host in 2 seconds, but if the host
is up (pingable) and sshd is listening on port 22 and host is...
2024 Jan 10
1
[Bug 3653] New: ConnectTimeout causes issue when connecting to an host via tsocks
https://bugzilla.mindrot.org/show_bug.cgi?id=3653
Bug ID: 3653
Summary: ConnectTimeout causes issue when connecting to an host
via tsocks
Product: Portable OpenSSH
Version: 9.6p1
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: ssh
Assig...
2003 Sep 17
3
[Bug 656] ConnectTimeout option broken
http://bugzilla.mindrot.org/show_bug.cgi?id=656
Summary: ConnectTimeout option broken
Product: Portable OpenSSH
Version: 3.7.1p1
Platform: All
URL: http://charts.free.fr
OS/Version: All
Status: NEW
Severity: major
Priority: P2
Component: ssh
AssignedTo: openssh-bugs...
2016 Oct 29
2
-e escape rule
> The point is that the original escaping DOUBLE escapes an equals sign:
> foo\\\=bar
> It shouldn't, there's no reason to.
If you paste into your command line:
rsync -e ssh\ -l\ backup\ -i\ /etc/synco/id_rsa\ -o\
ConnectTimeout\\\=60\ -o\ BatchMode\\\=yes
The list of arguments would be (i.e. the values in ARGV):
['rsync', '-e', 'ssh -l backup -i /etc/synco/id_rsa -o
ConnectTimeout\=60 -o BatchMode\=yes']
The command
ssh -l backup -i /etc/synco/id_rsa -o ConnectTimeout\=60 -o BatchMode\=yes
Is...
2003 Sep 17
0
ConnectTimeout option is broken
Some code was added which break this functionnality. Patches are
attached and details are on http://bugzilla.mindrot.org/show_bug.cgi?id=656
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: openssh-3.7.1p1-timeout-1.00.patch.txt
Url: http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20030917/561aa41f/attachment.txt
2016 Oct 29
2
-e escape rule
> Yeah, it only does space-splitting and that's all it will ever do. It still looks to me like there is a bug in the original escaping, since any command receiving that string is receiving a backslash that is not supposed to be there. It should only be escaping the string enough to get it to rsync, not trying to guess what rsync is going to do with it after it gets it.
I'm not
2002 Jan 26
5
[PATCH] Connect timeout
The attached patch adds a new 'ConnectTimeout' option (man page updated
in patch) to avoid wasting time when the target host is down. I needed that
because I was using rsync/rdist over ssh for massive files update and the
default connect() took too long for my purpose.
The patch was tested on Linux only, but I used a similar one for ssh...
2006 Feb 10
0
OpenSSH ControlAllowUsers, et al Patch
....3 or against OpenBSD
trunk).
For posterity, let it be known that this work was funded by Barracuda
Networks, Inc.
- Bill
Index: scp.0
===================================================================
--- scp.0 (revision 15802)
+++ scp.0 (revision 15803)
@@ -70,6 +70,11 @@
ConnectTimeout
ControlMaster
ControlPath
+ ControlBindMask
+ ControlAllowUsers
+ ControlAllowGroups
+ ControlDenyUsers
+ ControlDenyGroups
GlobalKnownHostsFile...
2017 Feb 04
4
[PATCH 0/4] p2v: Send ping packets, document timeout problems.
Fix and/or document issues raised in this thread:
https://www.redhat.com/archives/libguestfs/2017-February/msg00010.html
Rich.
2016 Oct 20
0
-e escape rule
...le- and/or double-quotes to preserve spaces
in an argument (but not backslashes)."
So I think the rest of the question is moot ...
Cheers, Dave
> Here is an example command generated by some Ruby code:
>
> rsync --archive --stats -e ssh\ -l\ backup\ -i\ /etc/synco/id_rsa\ -o\
> ConnectTimeout\\\=60\ -o\ BatchMode\\\=yes --link-dest
> ../../latest/etc/ /etc/
> example.backup.server.com:/tank/backup/servers/blah/latest.snapshot/etc/
>
> We can check that something like this is valid:
>
> files% echo foo\ bar\\\=baz
> foo bar\=baz -- what Rsync should be re...
2007 Feb 21
1
Strange SSH with rsync
Has anyone any idea why this wont work? Its in a script and im passing
-e "${SSH}" to the Rsync command where :-
SSH="$(/usr/bin/which ssh) -o ConnectTimeout=15 -o BatchMode=yes -n"
The below is output from set -x for my script. Below that is the error
from errorlog
/usr/bin/rsync -PavRz --delete --delete-excluded --copy-unsafe-links
--numeric-ids -e /usr/bin/ssh -o ConnectTimeout=15 -o BatchMode=yes -n
<user>@<host>:/tmp/davefile2 /d...
2003 Apr 21
6
[Bug 207] Connect timeout patch
http://bugzilla.mindrot.org/show_bug.cgi?id=207
------- Additional Comments From jclonguet at free.fr 2003-04-22 05:08 -------
Created an attachment (id=273)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=273&action=view)
Patch for OpenSSH-3.6.1p1
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
2002 Oct 17
0
[PATCH] connect() timeout for OpenSSH-3.5p1
...patch for the last portable version of
OpenSSH (3.5p1), as it is not included in the main tree.
The patch avoids waiting to long when using ssh() or scp() on a down host,
it is usefull when you have to update many hosts via rsync or rdist themselves
relying upon ssh(). It enables a new option 'ConnectTimeout' to control
exactly the timeout value, so that it can be used even on slow links.
These patches can also be found on http://charts.free.fr/
If you think this patch is worth to be included in the main tree, then you
can vote for it on http://bugzilla.mindrot.org/showvotes.cgi?voteon=207 but...
2002 May 22
0
[PATCH] connect() timeout
Here are the new versions of this widely used patch for OpenSSH 3.2.2p1
and 3.2.3p1.
The patch avoids waiting to long when using ssh() or scp() on a down host,
it is usefull when you have to update many hosts via rsync or rdist themselves
relying upon ssh(). It enables a new option 'ConnectTimeout' to control
exactly the timeout value, so that it can be used even on slow links.
These patches can also be found on http://charts.free.fr/
If you think this patch is worth to be included in the main tree, then you
can vote for it on http://bugzilla.mindrot.org/showvotes.cgi?voteon=207 but...
2016 Oct 21
2
-e escape rule
...an argument (but
> not backslashes)."
>
> So I think the rest of the question is moot ...
>
> Cheers, Dave
>
>
>> Here is an example command generated by some Ruby code:
>>
>> rsync --archive --stats -e ssh\ -l\ backup\ -i\ /etc/synco/id_rsa\ -o\
>> ConnectTimeout\\\=60\ -o\ BatchMode\\\=yes --link-dest
>> ../../latest/etc/ /etc/
>> example.backup.server.com:/tank/backup/servers/blah/latest.snapshot/etc/
>>
>> We can check that something like this is valid:
>>
>> files% echo foo\ bar\\\=baz
>> foo bar\=baz...
2001 Nov 17
0
[PATCH] Connect timeout
The attached patch adds a new 'ConnectTimeout' option (man page updated
in patch) to avoid wasting time when the target host is down. I needed that
because I was using rsync/rdist over ssh for massive files update and the
default connect() took too long for my purpose.
The patch was tested on Linux only, but I used a similar one for ssh...
2003 Apr 15
0
Connect timeout patch
This patch avoids spending too much time during connect() when doing an
ssh()/scp() on a down host. It uses a new client option called
ConnectTimeout and is useful for rsync or rdist commands using ssh().
See http://bugzilla.mindrot.org/show_bug.cgi?id=207 for detailled info.
-------------- next part --------------
--- openssh-3.6.1p1/readconf.c.ORIG Tue Apr 15 23:06:30 2003
+++ openssh-3.6.1p1/readconf.c Tue Apr 15 23:09:43 2003
@@ -114,7 +114...