Displaying 20 results from an estimated 51 matches for "exitonforwardfailur".
Did you mean:
exitonforwardfailure
2019 May 31
9
[Bug 3017] New: ExitOnForwardFailure=yes doesn't work for local forwards (-L)
https://bugzilla.mindrot.org/show_bug.cgi?id=3017
Bug ID: 3017
Summary: ExitOnForwardFailure=yes doesn't work for local
forwards (-L)
Product: Portable OpenSSH
Version: 7.6p1
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: ssh
Assignee:...
2008 Aug 13
0
ProxyCommand and ExitOnForwardFailure = leftover process
Hi,
I'm having a small problem when using ProxyCommand and
ExitOnForwardFailure in combination with OpenSSH 5.1 under Ubuntu
8.04.
In order to enable multihop scp and port forwarding, I have enabled
automatic public key authenticated tunneling from hostA to hostC via
hostB using ProxyCommand in my private .ssh/config file on hostA.
<end of .ssh/config>:
host hostB...
2015 Aug 17
6
[Bug 2444] New: ExitOnForwardFailure=yes has no effect
https://bugzilla.mindrot.org/show_bug.cgi?id=2444
Bug ID: 2444
Summary: ExitOnForwardFailure=yes has no effect
Product: Portable OpenSSH
Version: 6.9p1
Hardware: amd64
OS: Linux
Status: NEW
Severity: major
Priority: P5
Component: ssh
Assignee: unassigned-bugs at mindrot.org
Reporte...
2006 Sep 27
1
ExitOnForwardFailure and Protocol 2.0
I'm merging my "streamlocal" unix domain socket forwarding patch into 4.4p1
(or rather 20060926 SNAP) and I gather that the ExitOnForwardFailure
capability only works for protocol 1.0.
Am I misreading things? I was really looking forward to that feature.
I noticed when I began fixing a merge reject in
channel_request_remote_forwarding().
- Bill
2014 Jul 15
8
[Bug 2255] New: tunneling with -W does not report non 0 exit codes on failure even with ExitOnForwardFailure=yes
https://bugzilla.mindrot.org/show_bug.cgi?id=2255
Bug ID: 2255
Summary: tunneling with -W does not report non 0 exit codes on
failure even with ExitOnForwardFailure=yes
Product: Portable OpenSSH
Version: 6.6p1
Hardware: amd64
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: ssh
Assignee: unassigned-bugs at mindrot.org
Reporter: bcg62 at d...
2016 Jul 22
2
SSH crash on OpenBSD (pledge related?)
Hello,
I just ran upon this problem and couldn't find it in bugzilla.
SSH crashes (abort trap) if all of the following conditions are met:
(a) option -f is used (crash happens when going to background),
(b) reverse port forwarding is set up (option -R),
(c) option ExitOnForwardFailure is enabled,
(d) there are no actual port-forwarding failures.
The problem can be reproduced by running this command:
ssh -f -N -R 1234:[::1]:4321 -o ExitOnForwardFailure=yes ::1
Repeatable every time at least on OpenBSD 5.9 and the latest snapshot
(July 17th), on amd64/bsd.mp using default...
2016 May 31
7
[Bug 2577] New: Port Forwarding on Proxy with ProxyCommand ssh -W does not work / bad file descriptor
https://bugzilla.mindrot.org/show_bug.cgi?id=2577
Bug ID: 2577
Summary: Port Forwarding on Proxy with ProxyCommand ssh -W does
not work / bad file descriptor
Product: Portable OpenSSH
Version: 7.2p1
Hardware: amd64
OS: Linux
Status: NEW
Severity: major
Priority: P5
2025 Apr 15
1
[Bug 3812] New: channel_setup_fwd_listener_tcpip reports success when some binds fail
...on: 10.0p1
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: sshd
Assignee: unassigned-bugs at mindrot.org
Reporter: wiebe at halfgaar.net
TL;DR version: Expected behavior is that 'ExitOnForwardFailure=yes'
makes it exit when ANY bind+listen fails.
Longer version:
At least error-level wise, the logic at [0] assumes that when listening
on 'localhost', it's OK if the IPv6 one fails, as long as the IPv4 one
works. Assuming the IPv6 one is the first address in the list.
It seems t...
2012 May 30
1
need assist with upstart config problem
...# : Establishes proxy connection from local port
# port on the remote host.
# -n : stdin from /dev/null, must be used when ssh is run in bg.
# -N : Do not run a command on the remote host. Otherwise an
# error results because we are not initiating a session.
# -o ExitOnForwardFailure=yes : Wait until connection successfully
# completes before daemonizing
# -o ServerAliveInterval=15 : Keep connection alive every 15 seconds
# -q : Run quietly, do not produce local output.
# -T : disable pseudo-tty allocation
# SSH options used
env SSH_OPTIONS=" -o...
2017 Mar 14
3
Relaiable ssh tunnel via systemd
We try to run a reliable ssh tunnel vis systemd.
This is the unit configuration file:
{{{
[Unit]
Description=Tunnel For %i
After=network.target
[Service]
User=autossh
ExecStart=/usr/bin/ssh -o "ExitOnForwardFailure yes" -o "ServerAliveInterval 60" -N -R 40443:installserver:40443 -R
8080:installserver:8080
ExecStartPre=-/usr/bin/ssh tunnel@%i "for pid in $$(ps -u tunnel | grep sshd| cut -d' ' -f1); do kill -9 $$pid; echo
kill old ssh process p
Restart=always
RestartSec=5s
StartL...
2008 Jun 29
0
[Bug 92] Feature: -f -f, like -f, but fork() after port/display/agent open
https://bugzilla.mindrot.org/show_bug.cgi?id=92
--- Comment #2 from Damien Miller <djm at mindrot.org> 2008-06-29 18:57:03 ---
Created an attachment (id=1536)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=1536)
delay fork when ExitOnForwardFailure set
This is quite easy now that we have proper request callback queues, but
I don't think we need a funny non-idempotent option for it. This patch
makes -f wait until after the rfwd replies have been received if
ExitOnForwardFailure=yes.
--
Configure bugmail: https://bugzilla.mindrot.org/us...
2010 Nov 10
1
Exit Codes on Reverse Tunnel bug?
I ran the following command to create a reverse tunnel from another server back to my local host
ssh -4xnT -o PreferredAuthentications=publickey -o ConnectTimeout=10 -o BatchMode=yes -f \
-o ExitOnForwardFailure=yes -N -R myTargetHost:2525:myLocalHost:25 myUser at myTargetHost
and on machine=myTargetHost, the port 2525 was already being utilized, so it gave me this error and exited:
? ?? Error: remote port forwarding failed for listen port 2525
However, when I got the exit code it returned a zero (Succe...
2011 Aug 25
1
Add missing -o options in ssh(1) manual
...revision 1.319
diff -u -p -r1.319 ssh.1
--- ssh.1 7 May 2011 23:20:25 -0000 1.319
+++ ssh.1 25 Aug 2011 19:24:29 -0000
@@ -419,11 +419,13 @@ For full details of the options listed b
.It ConnectTimeout
.It ControlMaster
.It ControlPath
+.It ControlPersist
.It DynamicForward
.It EscapeChar
.It ExitOnForwardFailure
.It ForwardAgent
.It ForwardX11
+.It ForwardX11Timeout
.It ForwardX11Trusted
.It GatewayPorts
.It GlobalKnownHostsFile
@@ -438,6 +440,7 @@ For full details of the options listed b
.It IdentityFile
.It IdentitiesOnly
.It IPQoS
+.It KbdInteractiveAuthentication
.It KbdInteractiveDevices
.I...
2013 Dec 11
1
Why ssh client breaks connection in expecting SSH2_MSG_NEWKEYS state?
I have a client host that I don't have access to now, which attempts to
establish ssh connection back to my BSD server using the private key.
Client runs this command:
/usr/bin/ssh -i ~/.ssh/my_key_rsa -o "ExitOnForwardFailure yes" -p
$HPORT $HUSER@$HOST -R $LPORT:localhost:$LPORT -N
On the server debug log looks like this:
Connection from NNN.NNN.NNN.NNN port 43567
debug1: HPN Disabled: 0, HPN Buffer Size: 65536
debug1: Client protocol version 2.0; client software version
OpenSSH_5.9p1 Debian-5ubuntu1
debug1: m...
2008 Dec 24
1
Port forwarding using the client of a multiplexed connection.
...sing 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 -o EscapeChar=none -o ExitOnForwardFailure=yes -o
ServerAliveI...
2016 Apr 23
2
StreamLocal forwarding
...back to the client.
i.e. on the client (named gateway for this example, but will be unique
once deployed in volume):
/usr/bin/ssh -o CheckHostIP=yes -o LogLevel=INFO -o
ServerAliveCountMax=3 -o ServerAliveInterval=5 -o
StrictHostKeyChecking=yes -o TCPKeepAlive=yes -o
StreamLocalBindUnlink=yes -o ExitOnForwardFailure=yes -o BatchMode=yes
-nN -R /sshvpn/gateway:127.0.0.1:22 -p 52221 sshvpn at host
On the server:
Match User sshvpn
ChrootDirectory /var/sshvpn/
AllowTCPForwarding no
AllowStreamLocalForwarding yes
StreamLocalBindUnlink yes
Then to connect to the client:
$ ssh -o ProxyCommand='socat...
2016 Apr 03
6
[Bug 2562] New: CanonicalizeHostname causes duplicate LocalForward attempts
...: NEW
Severity: normal
Priority: P5
Component: ssh
Assignee: unassigned-bugs at mindrot.org
Reporter: matt+openssh at snark.net
When CanonicalizeHostname reloads ssh config, LocalForward entries end
up duplicated; this causes a connection failure if ExitOnForwardFailure
is set.
test config:
Host mini
IdentityFile ~/.ssh/keys/id_rsa
LocalForward localhost:8000 localhost:80
Host *
CanonicalizeHostname yes
ExitOnForwardFailure yes
result:
mghali at ernie.int.snark.net:~$ ssh -v -F tmp/config mini
OpenSSH_7.1p1, OpenSSL 1.0.1j 15 Oct 2014
debug1:...
2017 Mar 14
4
Relaiable ssh tunnel via systemd
Am 14.03.2017 um 15:10 schrieb Nico Kadel-Garcia:
> Look into the "autossh" program, which is very good to manage and
> maintain such tunnels.
>
Hi Nico and other ssh users,
Systemd restarts the ssh if it terminates. AFAIK this is all that is needed.
But maybe I am missing something. Is there a feature of autossh that I don't
get with systemd?
--
2016 Aug 01
0
Announce: OpenSSH 7.3 released
...ption and corresponding -J command-line
flag to allow simplified indirection through a one or more SSH
bastions or "jump hosts".
* ssh(1): Add an IdentityAgent option to allow specifying specific
agent sockets instead of accepting one from the environment.
* ssh(1): Allow ExitOnForwardFailure and ClearAllForwardings to be
optionally overridden when using ssh -W. bz#2577
* ssh(1), sshd(8): Implement support for the IUTF8 terminal mode as
per draft-sgtatham-secsh-iutf8-00.
* ssh(1), sshd(8): Add support for additional fixed Diffie-Hellman
2K, 4K and 8K groups from draft-...
2016 Jul 22
18
Call for testing: OpenSSH 7.3
...ption and corresponding -J command-line
flag to allow simplified indirection through a one or more SSH
bastions or "jump hosts".
* ssh(1): Add an IdentityAgent option to allow specifying specific
agent sockets instead of accepting one from the environment.
* ssh(1): Allow ExitOnForwardFailure and ClearAllForwardings to be
optionally overridden when using ssh -W. bz#2577
* ssh(1), sshd(8): Implement support for the IUTF8 terminal mode as
per draft-sgtatham-secsh-iutf8-00.
* ssh(1), sshd(8): Add support for additional fixed Diffie-Hellman
2K, 4K and 8K groups from draft-...