ASSI via Cygwin wrote at about 08:35:10 +0100 on Sunday, February 18, 2024:
> cygwin--- via Cygwin writes:
> > Running stunnel under gdb, shows that when 'ssh' exits, the thread
> > initiated by the 'ssh' login ends with a 'Segmentation Fault' due to a
> > SIGSEGV - so it appears that there is
cygwin--- via Cygwin writes:
> Running stunnel under gdb, shows that when 'ssh' exits, the thread
> initiated by the 'ssh' login ends with a 'Segmentation Fault' due to a
> SIGSEGV - so it appears that there is an attempt to read/write from an
> invalid memory area
Based on the location of the cra
matthew patton wrote at about 05:48:06 + on Friday, February 16, 2024:
> > s_connect: connecting 123.123.123.123:443
> So the 2nd time the STunnel client (listening) never gets to the above line.
> I'd say attach a debugger (eg. strace) to the stunnel client PID and see why
> it's unable
Andrew Schulman via Cygwin wrote at about 14:55:58 -0500 on Saturday, February
17, 2024:
> > >
> > > But supposing you keep your current configuration. Can you please
> > clarify how
> > > you're invoking stunnel? Do you have a ProxyCommand directive in your
> > > .ssh/config, like:
>
> >
> > But supposing you keep your current configuration. Can you please clarify
> how
> > you're invoking stunnel? Do you have a ProxyCommand directive in your
> > .ssh/config, like:
> >
> > ProxyCommand /usr/bin/stunnel stunnel.conf
>
> No... I just ssh to 'localhost' on the port that
Andrew Schulman via Cygwin wrote at about 09:36:58 -0500 on Friday, February
16, 2024:
> Hi. I'm the stunnel maintainer for Cygwin. I don't know why stunnel would
> hang
> as you describe, but I'll try to help.
>
> I agree that your configuration of ssh over TLS is common - I used it myself
> I am using Cygwin stunnel 5.71 on Windows 11 to connect to 'ssh' into my
> Ubuntu
> server over 'stunnel'.
>
> - The first time I ssh via stunnel it works fine The second time, I
> - try to connect, it hangs with 'ssh -v' showing only the initial
> local steps of connection:
>
> OpenSS
matthew patton wrote at about 00:01:04 + on Friday, February 16, 2024:
> can you turn stunnel debug up higher?also post your stunnel.conf?
It's already at debug=7 as you can see from the LOG7 in the snippet I
posted.
I will include the detailed client log below:
My client stunnel.conf is pre
can you turn stunnel debug up higher?also post your stunnel.conf?
Beyond that, why something this convoluted when you could use ssh
port-forwarding by way of the remote Stunnel endpoint? Or use Stunnel as a
SOCKS proxy and configure SSH client to connect that
way?https://hamy.io/post/0013/how-to
Here is some more strangeness:
1. (As before)
- ssh first time -> succeeds
- logout
- ssh again -> hangs
2. Another sequence
- SESSION 1: ssh first time -> succeeds
- SESSION 2: ssh second time -> succeeds (without logging out session 1)
- ...
- SESSION N: ssh n'th time -> su
I am using Cygwin stunnel 5.71 on Windows 11 to connect to 'ssh' into my Ubuntu
server over 'stunnel'.
- The first time I ssh via stunnel it works fine The second time, I
- try to connect, it hangs with 'ssh -v' showing only the initial
local steps of connection:
OpenSSH_9.5p1, OpenSSL
11 matches
Mail list logo