search for: connectionattempt

Displaying 20 results from an estimated 21 matches for "connectionattempt".

Did you mean: connectionattempts
2015 Nov 19
2
[Bug 2500] New: ConnectionAttempts=0 causes ssh to output uninitialised data on stdout
https://bugzilla.mindrot.org/show_bug.cgi?id=2500 Bug ID: 2500 Summary: ConnectionAttempts=0 causes ssh to output uninitialised data on stdout Product: Portable OpenSSH Version: 7.1p1 Hardware: amd64 OS: Linux Status: NEW Severity: normal Priority: P5 Component: ssh Ass...
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,12 @@ waitrfd(int fd, int *timeoutp) { str...
2000 Jun 06
0
connection timeout
Attached is a patch which adds a ConnectionTimeout option, and corrects the ConnectionAttempts documentation. Previously, ssh would try to make a connection ConnectionAttempts times, sleeping 1 second between tries. But each connection attempt could take a very long time to fail if the packets die before the get to the host. So if ssh is being run in a script or what-have-you, it might be...
2001 Jul 04
1
connection attempt timeout - possible feature?
...bunch of firewalls (joy ...) and so for connectivity tests, I'm using ssh (OpenSSH 2.x). I'm being lazy, and trying to avoid parallel tasks/threading, so I'm interested in reducing the amount of time OpenSSH will wait to connect to something before giving up. I've already set the ConnectionAttempts flag to 1, but am interested in reducing the amount of time it uses initially. From our boxes, the timeout seems to be abuot 60 seconds, but I haven't timed it yet, or groveled through the code enough to know for sure. Before I embark on a coding spree and hack at OpenSSH to do this, am I...
2000 Nov 14
1
[PATCH] Added option 'RetryDelay'
...Oct 14 01:23:12 2000 +++ openssh-2.3.0p1-new/readconf.c Mon Nov 13 11:06:57 2000 @@ -98,7 +98,7 @@ #endif oIdentityFile, oHostName, oPort, oCipher, oRemoteForward, oLocalForward, oUser, oHost, oEscapeChar, oRhostsRSAAuthentication, oProxyCommand, - oGlobalKnownHostsFile, oUserKnownHostsFile, oConnectionAttempts, + oGlobalKnownHostsFile, oUserKnownHostsFile, oConnectionAttempts, oRetryDelay, oBatchMode, oCheckHostIP, oStrictHostKeyChecking, oCompression, oCompressionLevel, oKeepAlives, oNumberOfPasswordPrompts, oTISAuthentication, oUsePrivilegedPort, oLogLevel, oCiphers, oProtocol, oIdentityFile2, @...
2008 Dec 24
1
Port forwarding using the client of a multiplexed connection.
I am trying to set up port forwarding using the client of a multiplexed connection, but the client is dying. The connection paramaters I am using are as follows: for the master: /usr/bin/ssh -T -n -N -o ControlMaster=yes -o ControlPath=/var/run/autossh/control-%r@%h-%p.sock -o ConnectionAttempts=3 -o BatchMode=yes -o EscapeChar=none -o ExitOnForwardFailure=yes -o ServerAliveInterval=15 -o ForwardAgent=no -c arcfour -2 -x user at host.com for the client: /usr/bin/ssh -T -n -N -o ControlMaster=no -o ControlPath=/var/run/autossh/control-%r@%h-%p.sock -o ConnectionAttempts=3 -o BatchMode=yes...
2001 Sep 04
3
2.9p2 behaves different from 2.5.2p2 on tunneling issue
Hi, I have a problem with a Linux box which I updated from 2.5.2p2 to 2.9p2 recently. It's running a tunnel started via inittab using a script which starts ssh -2 -N -o 'ConnectionAttempts 3600' -L <tunnel> $host This has run reliable with 2.5.2 over the last months. Now, after I have upgraded to 2.9p2, the tunnel is closed right after each attempt of an application to use the tunnel which is a cron job running each 5 minutes. So, now the tunnel is closed and restarted ea...
2015 Feb 23
2
Call for testing: OpenSSH 6.8
...;> $OBJ/ssh_config for p in 1 2; do trace "config file: start forwarding, fork to background" ${SSH} -$p -F $OBJ/ssh_config -f somehost sleep 10 trace "config file: transfer over forwarded channels and check result" ${SSH} -F $OBJ/ssh_config -p${base}02 -o 'ConnectionAttempts=4' \ somehost cat ${DATA} > ${COPY} test -s ${COPY} || fail "failed copy of ${DATA}" cmp ${DATA} ${COPY} || fail "corrupted copy of ${DATA}" wait done leaves the ports 3301/3302 in TIME_WAIT state (as is 4242 from some earlier test). Here ar...
2005 Aug 03
0
networking is slow/fails for more than one domU
...ely, while the other takes 10 seconds. If I do several of these, some will not finish and return a "Connection closed" message. The pattern of which domU connections are slow or fail is not repeatable. Each of the domUs is fast when it is the only one being used. If I use "ssh -o ConnectionAttempts=10 ..." then some of the connections will work after a few _minutes_. This happens when the above is run both from a separate native Linux box (directly connected with a gigE crossover) and dom0. It also happens under both SuSE 9.3 running Xen 2.0.5c and Fedora Core 4 running Xen unstable....
2016 Feb 12
22
Call for testing: OpenSSH 7.2
...ixes -------- * sftp(1): existing destination directories should not terminate recursive uploads (regression in openssh 6.8) bz#2528 * ssh(1), sshd(8): correctly send back SSH2_MSG_UNIMPLEMENTED replies to unexpected messages during key exchange. bz#2949 * ssh(1): refuse attempts to set ConnectionAttempts=0, which does not make sense and would cause ssh to print an uninitialised stack variable. bz#2500 * ssh(1): fix errors when attempting to connect to scoped IPv6 addresses with hostname canonicalisation enabled. * sshd_config(5): list a couple more options usable in Match blocks. b...
2016 Dec 31
2
Baffling regress/forwarding.sh failure, new in 7.4p1
...+ echo trace: transfer over forwarded channels and check result + [ X = Xyes ] + /tmp/autopkgtest-virt-lxc.shared.hhquaatj/downtmp/autopkgtest_tmp/user/tree/regress/ssh-log-wrapper.sh -2 -F /tmp/autopkgtest-virt-lxc.shared.hhquaatj/downtmp/autopkgtest_tmp/user/tree/regress/ssh_config -p3322 -o ConnectionAttempts=4 somehost cat /bin/ls + test -s /tmp/autopkgtest-virt-lxc.shared.hhquaatj/downtmp/autopkgtest_tmp/user/tree/regress/copy + cmp /bin/ls /tmp/autopkgtest-virt-lxc.shared.hhquaatj/downtmp/autopkgtest_tmp/user/tree/regress/copy + sleep 10 + trace exit on -L forward failure, proto 2 + start_...
2016 Feb 29
0
Announce: OpenSSH 7.2 released
...ixes -------- * sftp(1): existing destination directories should not terminate recursive uploads (regression in openssh 6.8) bz#2528 * ssh(1), sshd(8): correctly send back SSH2_MSG_UNIMPLEMENTED replies to unexpected messages during key exchange. bz#2949 * ssh(1): refuse attempts to set ConnectionAttempts=0, which does not make sense and would cause ssh to print an uninitialised stack variable. bz#2500 * ssh(1): fix errors when attempting to connect to scoped IPv6 addresses with hostname canonicalisation enabled. * sshd_config(5): list a couple more options usable in Match blocks. b...
2019 Apr 18
0
Announce: OpenSSH 8.0 released
...potentially being redirected to /dev/null when ProxyCommand=- was in use. * sshd(8): Avoid sending SIGPIPE to child processes if they attempt to write to stderr after their parent processes have exited; bz#2071 * ssh(1): Fix bad interaction between the ssh_config ConnectTimeout and ConnectionAttempts directives - connection attempts after the first were ignoring the requested timeout; bz#2918 * ssh-keyscan(1): Return a non-zero exit status if no keys were found; bz#2903 * scp(1): Sanitize scp filenames to allow UTF-8 characters without terminal control sequences; bz#2434 * sshd...
2015 Feb 21
2
Call for testing: OpenSSH 6.8
On Sat, 21 Feb 2015, Corinna Vinschen wrote: > Building on 64 bit Cygwin works out of the box. However, I have trouble > with the testsuite. As usual, I'm building outside the source tree: > > - Building the testsuite fails: > > Assembler messages: > Fatal error: can't create regress/unittests/bitmap/tests.o: No such file or directory > Makefile:152:
2018 Oct 09
97
[Bug 2915] New: Tracking bug for 8.0 release
https://bugzilla.mindrot.org/show_bug.cgi?id=2915 Bug ID: 2915 Summary: Tracking bug for 8.0 release Product: Portable OpenSSH Version: -current Hardware: Other OS: All Status: NEW Severity: enhancement Priority: P5 Component: Miscellaneous Assignee: unassigned-bugs at
2016 Feb 29
5
Announce: OpenSSH 7.2 released
...ixes -------- * sftp(1): existing destination directories should not terminate recursive uploads (regression in openssh 6.8) bz#2528 * ssh(1), sshd(8): correctly send back SSH2_MSG_UNIMPLEMENTED replies to unexpected messages during key exchange. bz#2949 * ssh(1): refuse attempts to set ConnectionAttempts=0, which does not make sense and would cause ssh to print an uninitialised stack variable. bz#2500 * ssh(1): fix errors when attempting to connect to scoped IPv6 addresses with hostname canonicalisation enabled. * sshd_config(5): list a couple more options usable in Match blocks. b...
2002 Aug 01
1
[Bug 375] New: sshd core dumping with msg "Cannot delete credentials"
...l/prngd/pool Here's my client SSH configuration file (I like to be explicit so I set values even if it's just to the default): BatchMode no CheckHostIP yes Cipher 3des Ciphers aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256- cbc ClearAllForwardings no Compression no ConnectionAttempts 1 EscapeChar ~ FallBackToRsh no ForwardAgent no ForwardX11 yes GatewayPorts no HostbasedAuthentication no HostKeyAlgorithms ssh-rsa,ssh-dss IdentityFile ~/.ssh/id_rsa IdentityFile ~/.ssh/id_dsa KeepAlive yes LogLevel INFO MACs hmac-md5,hmac-sha1,hmac-ripemd160,hmac-sha1-96,hmac-md5-96 NoHostAuthen...
2002 Jan 10
1
OpenSSH 3.0.Xp1, AIX -> Sun trusted host problem
...Port 22 KeepAlive no CheckHostIP yes StrictHostKeyChecking ask EscapeChar ~ Cipher 3des Ciphers blowfish-cbc,aes128-cbc,3des-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc MACs hmac-md5,hmac-sha1,hmac-ripemd160,hmac-sha1-96,hmac-md5-96 Compression no CompressionLevel 6 ConnectionAttempts 1 HostKeyAlgorithms ssh-rsa,ssh-dss UsePrivilegedPort yes PreferredAuthentications hostbased,publickey,keyboard-interactive,password NoHostAuthenticationForLocalhost no BatchMode no PasswordAuthentication yes NumberOfPasswordPrompts 3 RSAAuthentication yes PubkeyAuthent...
2004 Apr 13
1
Patch Status
...ConnectTimeout 0 # StrictHostKeyChecking ask # IdentityFile ~/.ssh/identity # IdentityFile ~/.ssh/id_rsa # IdentityFile ~/.ssh/id_dsa Port 2022 Protocol 2 # Cipher 3des # Ciphers aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc # EscapeChar ~ Compression no ConnectionAttempts 2 NumberofPasswordPrompts 1 X509rsaSigType=md5 AllowedCertPurpose sslserver #CACertificateFile /root/tk/openssh-3.8p1/tests/CA/ca-test/catest-bundle.crt CACertificateFile /root/.ssh/ca-bundle.crt #CACertificatePath /root/tk/openssh-3.8p1/tests/CA/ca-test/crt CACertificatePath /root/demoCA #CARevoc...
2015 Aug 21
124
[Bug 2451] New: Bugs intended to be fixed in 7.2
https://bugzilla.mindrot.org/show_bug.cgi?id=2451 Bug ID: 2451 Summary: Bugs intended to be fixed in 7.2 Product: Portable OpenSSH Version: -current Hardware: All OS: All Status: NEW Severity: trivial Priority: P5 Component: Miscellaneous Assignee: unassigned-bugs at