Re: ssh with multiplexing fails after connection and leaves zombie ssh processes

2025-03-28 Thread Jim Garrison via Cygwin
On 3/28/2025 02:36, Corinna Vinschen via Cygwin wrote: On Mar 27 16:11, Jim Garrison via Cygwin wrote: I just learned about ssh multiplexing and tried to set it up (Cygwin client to Debian server), but it fails to work and each attempt leaves a zombie ssh process. According to the ssh -vvv debu

Re: ssh with multiplexing fails after connection and leaves zombie ssh processes

2025-03-28 Thread Corinna Vinschen via Cygwin
On Mar 27 16:11, Jim Garrison via Cygwin wrote: > I just learned about ssh multiplexing and tried to set it up (Cygwin client > to Debian server), but it fails to work and each attempt leaves a zombie ssh > process. > > According to the ssh -vvv debug output, authentication is successful but > the

Re: ssh broken after updating cygwin

2024-08-30 Thread Lee via Cygwin
On Fri, Aug 30, 2024 at 11:52 AM ASSI via Cygwin wrote: > > Lee via Cygwin writes: > > OK.. I didn't read the release notes. If I knew the upgrade was going > > to break ssh I wouldn't have upgraded, but hopefully there's a > > work-around besides downgrading. > > As noted in the announcement, yo

Re: ssh broken after updating cygwin

2024-08-30 Thread Lee via Cygwin
On Fri, Aug 30, 2024 at 5:39 AM Mark Geisert via Cygwin wrote: > > On 8/29/2024 6:10 PM, Lee via Cygwin wrote: > > OK.. I didn't read the release notes. If I knew the upgrade was going > > to break ssh I wouldn't have upgraded, but hopefully there's a > > work-around besides downgrading. > > > > T

Re: ssh broken after updating cygwin

2024-08-30 Thread ASSI via Cygwin
Lee via Cygwin writes: > OK.. I didn't read the release notes. If I knew the upgrade was going > to break ssh I wouldn't have upgraded, but hopefully there's a > work-around besides downgrading. As noted in the announcement, you can build your own openssh that still has the code active, but it wi

Re: ssh broken after updating cygwin

2024-08-30 Thread Mark Geisert via Cygwin
On 8/29/2024 6:10 PM, Lee via Cygwin wrote: OK.. I didn't read the release notes. If I knew the upgrade was going to break ssh I wouldn't have upgraded, but hopefully there's a work-around besides downgrading. This used to work: $ ssh 10.10.2.4 /home/Lee/.ssh/config line 22: Bad key types '+ssh

Re: ssh vulnerability CVE-2024-6387

2024-07-17 Thread Brian Inglis via Cygwin
On 2024-07-17 07:25, Bill Stewart via Cygwin wrote: On Wed, Jul 17, 2024 at 6:25 AM Lemons, Terry via Cygwin wrote: Vulnerability scanners run at my company have detected the following vulnerability in the Cygwin sshd: CVE-2024-6387CVSS 3: 8.1 OpenSSH could allow a remote attacker to execu

Re: ssh vulnerability CVE-2024-6387

2024-07-17 Thread Bill Stewart via Cygwin
On Wed, Jul 17, 2024 at 6:25 AM Lemons, Terry via Cygwin wrote: Vulnerability scanners run at my company have detected the following > vulnerability in the Cygwin sshd: > > CVE-2024-6387CVSS 3: 8.1 > > OpenSSH could allow a remote attacker to execute arbitrary code on the > system, caused by a

Re: ssh server vulnerable to regreSSHion?

2024-07-04 Thread Brian Inglis via Cygwin
On 2024-07-04 09:31, Tom Kent via Cygwin wrote: For anyone not aware, a major, remotely exploitable, vulnerability has been found in OpenSSH servers. It has been assigned CVE-2024-6387 [1] and titled "regreSSHion" [2] because it is actually a regression of a pair of early 2000s bugs: CVE-2006-50

Re: ssh-add -l hangs under cygwin test 3.6.0-0.139.g...

2024-07-01 Thread Takashi Yano via Cygwin
On Mon, 1 Jul 2024 17:43:53 +0900 Takashi Yano wrote: > On Sun, 30 Jun 2024 22:55:22 +0900 > Takashi Yano wrote: > > On Sun, 30 Jun 2024 20:33:19 +0900 > > jojelino wrote: > > > On 6/29/2024 2:39 PM, Brian Inglis via Cygwin wrote: > > > > Reran cygport --debug upload and command hanging was ssh-add

Re: ssh-add -l hangs under cygwin test 3.6.0-0.139.g...

2024-07-01 Thread Takashi Yano via Cygwin
On Sun, 30 Jun 2024 22:55:22 +0900 Takashi Yano wrote: > On Sun, 30 Jun 2024 20:33:19 +0900 > jojelino wrote: > > On 6/29/2024 2:39 PM, Brian Inglis via Cygwin wrote: > > > Reran cygport --debug upload and command hanging was ssh-add -l! > > > > >296 72109 [main] ssh-add 63275 win32env_to_cy

Re: ssh-add -l hangs under cygwin test 3.6.0-0.139.g...

2024-06-30 Thread Takashi Yano via Cygwin
On Sun, 30 Jun 2024 20:33:19 +0900 jojelino wrote: > On 6/29/2024 2:39 PM, Brian Inglis via Cygwin wrote: > > Reran cygport --debug upload and command hanging was ssh-add -l! > > >296 72109 [main] ssh-add 63275 win32env_to_cygenv: 0xA000232E0: > TERM_PROGRAM=mintty >189 72298 [main] s

Re: ssh-add -l hangs under cygwin test 3.6.0-0.139.g...

2024-06-30 Thread jojelino via Cygwin
On 6/29/2024 2:39 PM, Brian Inglis via Cygwin wrote: Reran cygport --debug upload and command hanging was ssh-add -l! 296 72109 [main] ssh-add 63275 win32env_to_cygenv: 0xA000232E0: TERM_PROGRAM=mintty 189 72298 [main] ssh-add 63275 win32env_to_cygenv: 0xA00023300: TERM_PROGRAM_VERSION

Re: ssh-add -l hangs under cygwin test 3.6.0-0.139.g...

2024-06-30 Thread Andrey Repin via Cygwin
Greetings, Brian Inglis via Cygwin! >> I have experienced otherwise inexplicable hangs of ssh that have been >> resolved >> by killing ssh-agent and restarting it. This doesn't happen very often, so >> it is >> usually mystifying when it does occur -- until I remember. > I have *NEVER* had *ANY

Re: ssh-add -l hangs under cygwin test 3.6.0-0.139.g...

2024-06-29 Thread Norton Allen via Cygwin
On 6/29/2024 8:21 PM, Norton Allen via Cygwin wrote: On 6/29/2024 5:29 PM, Brian Inglis via Cygwin wrote: On 2024-06-29 14:20, Norton Allen via Cygwin wrote: On 6/29/2024 1:39 AM, Brian Inglis via Cygwin wrote: Installed cygwin test to try to diagnose another issue - but not involved there.

Re: ssh-add -l hangs under cygwin test 3.6.0-0.139.g...

2024-06-29 Thread Norton Allen via Cygwin
On 6/29/2024 5:29 PM, Brian Inglis via Cygwin wrote: On 2024-06-29 14:20, Norton Allen via Cygwin wrote: On 6/29/2024 1:39 AM, Brian Inglis via Cygwin wrote: Installed cygwin test to try to diagnose another issue - but not involved there. Attempting to cygport upload - just hung without star

Re: ssh-add -l hangs under cygwin test 3.6.0-0.139.g...

2024-06-29 Thread Brian Inglis via Cygwin
On 2024-06-29 14:20, Norton Allen via Cygwin wrote: On 6/29/2024 1:39 AM, Brian Inglis via Cygwin wrote: Installed cygwin test to try to diagnose another issue - but not involved there. Attempting to cygport upload - just hung without start ftp connection. Reran cygport --debug upload and comman

Re: ssh-add -l hangs under cygwin test 3.6.0-0.139.g...

2024-06-29 Thread Norton Allen via Cygwin
On 6/29/2024 1:39 AM, Brian Inglis via Cygwin wrote: Hi folks, Installed cygwin test to try to diagnose another issue - but not involved there. Attempting to cygport upload - just hung without start ftp connection. Reran cygport --debug upload and command hanging was ssh-add -l! Confirmed by r

Re: ssh over stunnel hangs on second connection

2024-02-18 Thread cygwin--- via Cygwin
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

Re: ssh over stunnel hangs on second connection

2024-02-17 Thread ASSI via Cygwin
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

Re: ssh over stunnel hangs on second connection

2024-02-17 Thread cygwin--- via Cygwin
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

Re: ssh over stunnel hangs on second connection

2024-02-17 Thread cygwin--- via Cygwin
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: >

Re: ssh over stunnel hangs on second connection

2024-02-17 Thread Andrew Schulman via Cygwin
> > > > 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

Re: ssh over stunnel hangs on second connection

2024-02-16 Thread cygwin--- via Cygwin
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

Re: ssh over stunnel hangs on second connection

2024-02-16 Thread Andrew Schulman via Cygwin
> 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

Re: ssh over stunnel hangs on second connection

2024-02-15 Thread cygwin--- via Cygwin
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

Re: ssh over stunnel hangs on second connection

2024-02-15 Thread matthew patton via Cygwin
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

Re: ssh over stunnel hangs on second connection

2024-02-15 Thread cygwin--- via Cygwin
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

Re: SSH config in /etc/ssh/ rather than /etc?

2023-04-11 Thread Backwoods BC via Cygwin
On Tue, Apr 11, 2023 at 6:28 PM Philippe Cerfon via Cygwin wrote: > I've just wondered whether Cygwin packages could be changed to > place/expect any SSH config files in /etc/ssh, just as virtually any > Linux distribution seems to do? :-) Symlinks are your friend. You can even use real (Windows)

Re: SSH connection from Linux to Windows by CYGSSHD: port 22

2022-03-31 Thread Andrey Repin
Greetings, Chris Roehrig! > I recently had to add the following lines to my Cygwin /etc/sshd_config to > re-enable RSA in order for my older machines to connect: > HostKeyAlgorithms +ssh-rsa > PubkeyAcceptedAlgorithms +ssh-rsa I'm not using RSA for, like, 5 years now. Too long to manage. > -- C

Re: SSH connection from Linux to Windows by CYGSSHD: port 22

2022-03-31 Thread Chris Roehrig
I recently had to add the following lines to my Cygwin /etc/sshd_config to re-enable RSA in order for my older machines to connect: HostKeyAlgorithms +ssh-rsa PubkeyAcceptedAlgorithms +ssh-rsa -- Chris On 2022-03-31 06:18, Andrey Repin wrote: Greetings, Greco Giovanni! must port 22 on Wind

Re: SSH connection from Linux to Windows by CYGSSHD: port 22

2022-03-31 Thread Andrey Repin
Greetings, Greco Giovanni! > must port 22 on Windows server be enabled in a bidirectional way to > establish a connection with RSA key exchange? > I have a Linux server on a vlan and a Windows server on another vlan, those > vlans are connected thru a firewall, where port 22 is enabled from Linux

Re: Ssh key sync problems between linux server and windows server

2021-08-03 Thread Stephen Carrier
On Mon, Aug 02, 2021 at 10:08:58AM +0200, Roberto Sabelli via Cygwin wrote: > Hi everyone, I have this problem that I can't solve: > > I have a linux server (Red Hat Enterprise Linux 6 64bit) and a Windows > server (Windows Server 2016 Datacenter). > CYGWIN v. 1.5.22 is installed on the Windows se

Re: Ssh

2021-01-17 Thread Marco Atzeri via Cygwin
please reply to mailing list, thanks On 17.01.2021 18:30, Jim McNamara wrote: On Sun, Jan 17, 2021, 12:04 PM Marco Atzeri via Cygwin mailto:cygwin@cygwin.com>> wrote: On 17.01.2021 17:26, Jim McNamara via Cygwin wrote: > Hi- > > If I am trying to ssh by local port forward

Re: Ssh

2021-01-17 Thread Marco Atzeri via Cygwin
On 17.01.2021 17:26, Jim McNamara via Cygwin wrote: Hi- If I am trying to ssh by local port forwarding from machine A to remote host B, do I need cygserv or sshd running on A? No. You need sshd (ssh demon) on B B is the sshd server I want to connect to. A is the ssh client. If I test eithe

Re: ssh-host-config doesn't "inherit" user admin privilege

2021-01-15 Thread Bill Stewart
On Thu, Jan 14, 2021 at 6:21 PM art wrote: > > I get a security code 5 when ssh-host-config tries to install cygsshd. I was > logged into Win 10 pro/x64 as an admin user. The "fix" was to start a > Cygwin64 Terminal with Admin and then run ssh-host-config within this script. > Other installers h

Re: Need admin privs before something can inherit them (was Re: ssh-host-config doesn't "inherit" user admin privilege)

2021-01-14 Thread Brian Inglis via Cygwin
On 2021-01-14 19:55, art wrote: On Thursday, January 14, 2021 6:05 PM, L A Walsh wrote: On 2021/01/14 17:21, art wrote: I get a security code 5 when ssh-host-config tries to install cygsshd. I was logged into Win 10 pro/x64 as an admin user. The "fix" was to start a Cygwin64 Terminal with Adm

RE: Need admin privs before something can inherit them (was Re: ssh-host-config doesn't "inherit" user admin privilege)

2021-01-14 Thread art
n@cygwin.com' Subject: Need admin privs before something can inherit them (was Re: ssh-host-config doesn't "inherit" user admin privilege) On 2021/01/14 17:21, art wrote: > I get a security code 5 when ssh-host-config tries to install cygsshd. I was > logged into Win 10 pro/x

Need admin privs before something can inherit them (was Re: ssh-host-config doesn't "inherit" user admin privilege)

2021-01-14 Thread L A Walsh
On 2021/01/14 17:21, art wrote: I get a security code 5 when ssh-host-config tries to install cygsshd. I was logged into Win 10 pro/x64 as an admin user. The "fix" was to start a Cygwin64 Terminal with Admin and then run ssh-host-config within this script. You say ssh-host-config tries to instal

Re: ssh to cygwin-box and access remote exe fails saying exe is a directory

2020-12-05 Thread Raj Kumar Sanpui via Cygwin
I feel, i got the answer to the question here: https://superuser.com/questions/1607551/remote-login-using-ssh-keys-vs-password-weird-error-is-a-directory/1607563 This issue may be marked as close. On Sat, Dec 5, 2020 at 7:16 PM Raj Kumar Sanpui wrote: > I haven't received any help/suggestions f

Re: ssh to cygwin-box and access remote exe fails saying exe is a directory

2020-12-05 Thread Raj Kumar Sanpui via Cygwin
I haven't received any help/suggestions from the forum, but i tried digging deeper. Now i can see the "Is a directory" error happens if I do passwordless ssh (copying my public key using ssh-copy-id) to remote Cygwin box and try executing the exe, i get the error. rsanpui@cygwin ~ $ "//DNVM/E920/S

Re: ssh-copy-id probem on 3.1.7(0.340/5/3)

2020-11-19 Thread Chad Dougherty via Cygwin
On 2020-11-12 20:24:59, Bruno Iglesias wrote: Hi, When i try to copy a ssh key with ssh-copy-id receive this error and not copy de key: ssh-copy-id biglesias@pve1 /usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/home/bruno/.ssh/id_rsa.pub" /usr/bin/ssh-copy-id: INFO: attempting t

Re: ssh not working for past few months?

2020-07-18 Thread Brian Inglis
On 2020-07-18 17:29, Lester Ingber via Cygwin wrote: > Is anyone else having problems with ssh -- a most basic tool? > > The past few months ssh has not been working for me. I have had to use > WSL Bash. Windows installs its own ssh client and sshd server when WSL is installed: before starting C

Re: ssh not working for past few months?

2020-07-18 Thread René Berber via Cygwin
On 7/18/2020 6:29 PM, Lester Ingber via Cygwin wrote: Is anyone else having problems with ssh -- a most basic tool? No. It is working as expected. $ cygcheck -c openssh Cygwin Package Information Package VersionStatus openssh 8.3p1-1OK $ ssh -p

Re: ssh troubles

2020-06-23 Thread Raman Gupta via Cygwin
Oh I forgot the cygcheck output, here it is attached. Also sshd is working right now, but this log was last written at some point in the past when it wasn't: $ cat /var/log/cygsshd.log 0 [main] sshd 232 dofork: child -1 - CreateProcessW failed for 'C:\cygwin64\usr\sbin\sshd.exe', errno 30

Re: ssh troubles

2020-06-20 Thread Raman Gupta via Cygwin
On Wed, Jun 17, 2020 at 4:21 PM Marco Atzeri via Cygwin wrote: > On 17.06.2020 20:46, Raman Gupta via Cygwin wrote: > > Hello all, for some reason I've started having troubles with cygwin sshd, > > despite having successfully used it for years. Not sure if some recent > > Windows updates broke it

Re: ssh troubles

2020-06-17 Thread Kevin Schnitzius via Cygwin
On Wednesday, June 17, 2020, 02:47:30 PM EDT, Raman Gupta via Cygwin wrote:  > Hello all, for some reason I've started having troubles with cygwin sshd, > despite having successfully used it for years.  > Any ideas? AD or local login? Local accounts work for me but domain logins give me the se

Re: ssh troubles

2020-06-17 Thread Marco Atzeri via Cygwin
On 17.06.2020 20:46, Raman Gupta via Cygwin wrote: Hello all, for some reason I've started having troubles with cygwin sshd, despite having successfully used it for years. Not sure if some recent Windows updates broke it or something, but now I'm getting the infamous: sshd: PID 1855: fatal: sete

Re: ssh-pageant

2020-04-23 Thread Andrey Repin
Greetings, Chris Rodgers! > Thanks for the detailed reply. Interesting! >> It's not that simple. You can't blindly restart agent every time you wish >> without notifying other programs, `--reuse` is a very bad idea and there's >> no easy way to set/change an environment variable globally for an e

Re: ssh-pageant

2020-04-23 Thread Bill Stewart
On Thu, Apr 23, 2020 at 1:00 PM Thomas Wolff wrote: > The Cygwin package manager (setup) in the description of the ssh-pageant > package: > "SSH agent for Cygwin/MSYS that links to PuTTY's Pageant" The language is a bit imprecise, I suppose. Pageant is related to but != PuTTY - you don't have to

Re: ssh-pageant

2020-04-23 Thread Chris Rodgers
Dear Andrew, Thanks for the detailed reply. Interesting! It's not that simple. You can't blindly restart agent every time you wish without notifying other programs, `--reuse` is a very bad idea and there's no easy way to set/change an environment variable globally for an entire user session.

Re: ssh-pageant

2020-04-23 Thread Andrey Repin
Greetings, Chris Rodgers! > I find the ssh-pageant package helpful to enable cygwin ssh to interact > seamlessly with PuTTY's Pageant SSH agent. One small issue is that after > installing, one has to add the lines: >> |# ssh-pageant eval $(/usr/bin/ssh-pageant -r -a >> "/tmp/.ssh-pageant-$USERN

Re: ssh-pageant

2020-04-23 Thread Chris Rodgers
So.. one more thing to consider. I just had a look in the cygwin package search for packages shipping files in /etc/profile.d/ It turns out that one example already shipping in Cygwin is http://www.cygwin.com/packages/x86_64/gnome-ssh-askpass/gnome-ssh-askpass-7.4-1 gnome-ssh-askpass: GTK

Re: ssh-pageant

2020-04-23 Thread Thomas Wolff
Am 23.04.2020 um 20:31 schrieb Andrey Repin: Greetings, Thomas Wolff! Am 23.04.2020 um 15:50 schrieb Chris Rodgers: Hi, I find the ssh-pageant package helpful to enable cygwin ssh to interact seamlessly with PuTTY's Pageant SSH agent. One small issue is that after installing, one has to add t

Re: ssh-pageant

2020-04-23 Thread Andrey Repin
Greetings, Thomas Wolff! > Am 23.04.2020 um 15:50 schrieb Chris Rodgers: >> Hi, >> >> I find the ssh-pageant package helpful to enable cygwin ssh to >> interact seamlessly with PuTTY's Pageant SSH agent. One small issue is >> that after installing, one has to add the lines: >> >>> |# ssh-pageant

Re: ssh-pageant

2020-04-23 Thread Brian Inglis
On 2020-04-23 07:50, Chris Rodgers wrote: > I find the ssh-pageant package helpful to enable cygwin ssh to interact > seamlessly with PuTTY's Pageant SSH agent. One small issue is that after > installing, one has to add the lines: > # ssh-pageant > eval $(/usr/bin/ssh-pageant -r -a "/tm

Re: ssh-pageant

2020-04-23 Thread Chris Rodgers
On 23/04/2020 17:40, Chris Rodgers wrote: Thomas Wolff wrote: >/Would it be acceptable to update the ssh-pageant package to add a file />//etc/profile.d/ssh-pageant.sh that does this automatically? /Does what? Add something to other users' profiles? P.S. I realise I may have been unclear.

Re: ssh-pageant

2020-04-23 Thread Chris Rodgers
Thomas Wolff wrote: >/Would it be acceptable to update the ssh-pageant package to add a file />//etc/profile.d/ssh-pageant.sh that does this automatically? /Does what? Add something to other users' profiles? Sounds like MS-style patronizing of user preferences. Certainly not appreciated by mos

Re: ssh-pageant

2020-04-23 Thread Thomas Wolff
Am 23.04.2020 um 15:50 schrieb Chris Rodgers: Hi, I find the ssh-pageant package helpful to enable cygwin ssh to interact seamlessly with PuTTY's Pageant SSH agent. One small issue is that after installing, one has to add the lines: |# ssh-pageant eval $(/usr/bin/ssh-pageant -r -a "/tmp/.ss

Re: ssh-agent doesn't die

2019-11-04 Thread Corinna Vinschen
On Nov 4 11:49, Tim Adye wrote: > On 03/11/2019 19:00, Corinna Vinschen wrote: > > On Sep 27 00:42, Tim Adye wrote: > > > Hi, > > > > > > I have noticed a (new?) problem with using ssh-agent to start a session, > > > eg. > > > with > > > > > >   ssh-agent xterm & > > > > > > When the xterm (o

Re: ssh-agent doesn't die

2019-11-04 Thread Tim Adye
On 03/11/2019 19:00, Corinna Vinschen wrote: On Sep 27 00:42, Tim Adye wrote: Hi, I have noticed a (new?) problem with using ssh-agent to start a session, eg. with   ssh-agent xterm & When the xterm (or whatever) command completes, the ssh-agent process is still left running in the backgroun

Re: ssh-agent doesn't die

2019-11-03 Thread Corinna Vinschen
On Sep 27 00:42, Tim Adye wrote: > Hi, > > I have noticed a (new?) problem with using ssh-agent to start a session, eg. > with > >   ssh-agent xterm & > > When the xterm (or whatever) command completes, the ssh-agent process is > still left running in the background. It should stop once its subp

Re: ssh-agent doesn't die

2019-10-04 Thread Ken Brown
On 10/4/2019 10:27 AM, Ken Brown wrote: > On 9/29/2019 4:05 PM, Ken Brown wrote: >> On 9/27/2019 10:12 AM, Ken Brown wrote: >>> On 9/27/2019 9:37 AM, Norton Allen wrote: On 9/26/2019 10:50 PM, Ken Brown wrote: > >> As a simple test example, consider: >> >> /bin/ssh-agent /bin/s

Re: ssh-agent doesn't die

2019-10-04 Thread Ken Brown
On 9/29/2019 4:05 PM, Ken Brown wrote: > On 9/27/2019 10:12 AM, Ken Brown wrote: >> On 9/27/2019 9:37 AM, Norton Allen wrote: >>> On 9/26/2019 10:50 PM, Ken Brown wrote: > As a simple test example, consider: > > /bin/ssh-agent /bin/sleep 10 > > While the sleep is still runn

Re: ssh-agent doesn't die

2019-09-29 Thread Ken Brown
On 9/27/2019 10:12 AM, Ken Brown wrote: > On 9/27/2019 9:37 AM, Norton Allen wrote: >> On 9/26/2019 10:50 PM, Ken Brown wrote: >>> As a simple test example, consider: /bin/ssh-agent /bin/sleep 10 While the sleep is still running, ps shows:     PID    PPID   

Re: ssh-agent doesn't die

2019-09-27 Thread Norton Allen
On 9/27/2019 11:09 AM, Ken Brown wrote: On 9/27/2019 10:27 AM, Vanda Vodkamilkevich wrote: Hi, this may probably be not fully related but I see from time to time a strange behavior of ssh-agent (running in the background and initially started by keychain launched in .bashrc) : the agent is runni

Re: ssh-agent doesn't die

2019-09-27 Thread Ken Brown
On 9/27/2019 10:27 AM, Vanda Vodkamilkevich wrote: > Le ven. 27 sept. 2019 à 16:13, Ken Brown a écrit : > >> On 9/27/2019 9:37 AM, Norton Allen wrote: >>> On 9/26/2019 10:50 PM, Ken Brown wrote: > As a simple test example, consider: > > /bin/ssh-agent /bin/sleep 10 > > Wh

Re: ssh-agent doesn't die

2019-09-27 Thread Vanda Vodkamilkevich
Le ven. 27 sept. 2019 à 16:13, Ken Brown a écrit : > On 9/27/2019 9:37 AM, Norton Allen wrote: > > On 9/26/2019 10:50 PM, Ken Brown wrote: > >> > >>> As a simple test example, consider: > >>> > >>> /bin/ssh-agent /bin/sleep 10 > >>> > >>> While the sleep is still running, ps shows: > >>> > >>>

Re: ssh-agent doesn't die

2019-09-27 Thread Ken Brown
On 9/27/2019 9:37 AM, Norton Allen wrote: > On 9/26/2019 10:50 PM, Ken Brown wrote: >> >>> As a simple test example, consider: >>> >>> /bin/ssh-agent /bin/sleep 10 >>> >>> While the sleep is still running, ps shows: >>> >>>     PID    PPID    PGID WINPID   TTY UID    STIME COMMAND >

Re: ssh-agent doesn't die

2019-09-27 Thread Norton Allen
On 9/26/2019 10:50 PM, Ken Brown wrote: As a simple test example, consider: /bin/ssh-agent /bin/sleep 10 While the sleep is still running, ps shows:   PID    PPID    PGID WINPID   TTY UID    STIME COMMAND 1694    1693    1694   1576  ?  22534 00:01:10 /u

Re: ssh-agent doesn't die

2019-09-26 Thread Ken Brown
On 9/26/2019 7:42 PM, Tim Adye wrote: > Hi, > > I have noticed a (new?) problem with using ssh-agent to start a session, eg. > with > >   ssh-agent xterm & > > When the xterm (or whatever) command completes, the ssh-agent process is > still > left running in the background. It should stop on

Re: ssh-agent doesn't die

2019-09-26 Thread Norton Allen
On 9/26/2019 7:42 PM, Tim Adye wrote: Is it just me that sees this, or could it be a bug in ssh-agent or Cygwin? I see the same thing (and have never heard of HitmanPro) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation:

Re: ssh and mintty

2019-08-08 Thread Doug McIlroy
> You're accidentally using the wrong ssh. Sounds like this is the Microsoft ssh, not the Cygwin ssh. That's it. Many thanks. Doug -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscri

Re: ssh and mintty

2019-08-08 Thread Corinna Vinschen
On Aug 8 10:47, Doug McIlroy wrote: > On a new Surface 3, invoking ssh from a standard cygwin mintty window gives > the diagnostic, "Pseudo-terminal will not be allocated because stdin is not > a terminal. Invoking exactly the same program from a Windows command window > works. > I have no diffic

Re: ssh confused about home directory?

2019-02-20 Thread Houder
On Tue, 19 Feb 2019 19:24:38, Boylan, Ross" wrote: > [Answering my own question after better searching] > Same question asked and answered in the thread starting https://cygwin.com/= > ml/cygwin/2016-06/msg00400.html. > The answer is to set db_home in nsswitch.conf. > > Comment: the current behav

Re: ssh confused about home directory?

2019-02-19 Thread Thomas Wolff
Am 19.02.2019 um 21:08 schrieb Andrey Repin: Greetings, Boylan, Ross! I recently installed cygwin on Win 10, both 64 bit. When I run ssh in a cygwin shell it complains Could not create directory '/home/rdboylan/.ssh'. The /home directory is empty--that is, it has no rdboylan subdi

Re: ssh confused about home directory?

2019-02-19 Thread Andrey Repin
Greetings, Boylan, Ross! > I recently installed cygwin on Win 10, both 64 bit. > When I run ssh in a cygwin shell it complains > Could not create directory '/home/rdboylan/.ssh'. > The /home directory is empty--that is, it has no rdboylan subdirectory. > My home directory appears to b

Re: ssh confused about home directory?

2019-02-19 Thread Boylan, Ross
[Answering my own question after better searching] Same question asked and answered in the thread starting https://cygwin.com/ml/cygwin/2016-06/msg00400.html. The answer is to set db_home in nsswitch.conf. Comment: the current behavior strikes me as unfortunate and surprising. __

Re: ssh cause mintty terminal not to close (tested on 4 cygwin installations)

2018-08-06 Thread Ænkå
On 2018-08-04 00:24, Andrey Repin wrote: Greetings, Niels Kristian Jensen! This may seem like a minor thing, but we have much trouble with Jenkins builds (started via Cygwin OpenSSH) which randomly hang forever - I wonder if this could be a clue in this investigation. (cut) Try upgrading

Re: ssh cause mintty terminal not to close (tested on 4 cygwin installations)

2018-08-03 Thread Brian Inglis
On 2018-08-03 04:01, n...@internetgruppen.dk wrote: > On 2018-08-02 23:08, Andrey Repin wrote: >> A long known issue. >> mintty holds terminal open if last program finished with failure. >> ssh somehow tripping this wire on occasion. > OK. >>> This may seem like a minor thing, but we have much trou

Re: ssh cause mintty terminal not to close (tested on 4 cygwin installations)

2018-08-03 Thread cyg Simple
On 8/3/2018 6:01 AM, n...@internetgruppen.dk wrote: > For cyg Simple: > I am stuck with Cygwin 32 bit because of some tools, we use. A team is > trying to get it to work with 64 bits, but that is not there yet. > Are the tools dependent on the cygwin1.dll? What problems, bring them here and mayb

Re: ssh cause mintty terminal not to close (tested on 4 cygwin installations)

2018-08-03 Thread Andrey Repin
Greetings, Niels Kristian Jensen! >>> This may seem like a minor thing, but we have much trouble with >>> Jenkins >>> builds (started via Cygwin OpenSSH) which randomly hang forever - I >>> wonder >>> if this could be a clue in this investigation. >> > (cut) >> >> Try upgrading your mintty, al

Re: ssh cause mintty terminal not to close (tested on 4 cygwin installations)

2018-08-03 Thread nkj
On 2018-08-02 23:08, Andrey Repin wrote: Greetings, Niels Kristian Jensen! (cut) A long known issue. mintty holds terminal open if last program finished with failure. ssh somehow tripping this wire on occasion. OK. This may seem like a minor thing, but we have much trouble with Jenkins bu

Re: ssh cause mintty terminal not to close (tested on 4 cygwin installations)

2018-08-02 Thread Andrey Repin
Greetings, Niels Kristian Jensen! > I've noticed a strange behavior of the standard Cygwin Terminal (mintty): > If I open a Cygwin Terminal (using the shortcut on the desktop installed by > Cygwin setup) and just press Ctrl-D, it writes "logout" and closes the > window as expected. > If I do the

Re: ssh cause mintty terminal not to close (tested on 4 cygwin installations)

2018-08-02 Thread Thomas Wolff
Am 02.08.2018 um 15:44 schrieb Niels Kristian Jensen: I've noticed a strange behavior of the standard Cygwin Terminal (mintty): If I open a Cygwin Terminal (using the shortcut on the desktop installed by Cygwin setup) and just press Ctrl-D, it writes "logout" and closes the window as expected.

Re: ssh cause mintty terminal not to close (tested on 4 cygwin installations)

2018-08-02 Thread cyg Simple
On 8/2/2018 9:44 AM, Niels Kristian Jensen wrote: > I've noticed a strange behavior of the standard Cygwin Terminal (mintty): > > If I open a Cygwin Terminal (using the shortcut on the desktop installed by > Cygwin setup) and just press Ctrl-D, it writes "logout" and closes the > window as expecte

Re: ssh login to cygwin bash?

2018-04-26 Thread Ulli Horlacher
On Thu 2018-03-29 (22:21), Marco Atzeri wrote: > as it seems you have not done so, likely you have another > ssh server than cygwin one running on your pc. Late feedback: this was the case! Thanks for the hint! I have now disabled the foreign sshd, reinstalled cygwin openssh server, opened port 2

Re: ssh login to cygwin bash?

2018-03-29 Thread Erik Soderquist
On Thu, Mar 29, 2018 at 4:17 PM, Brian Inglis wrote: >> I would actually like to know how you managed this, as I have a couple >> use cases where this is what I do need... > > W10 Developer mode installs and enables minimal MS SSH server for Settings > "Device discovery" mDNS service "SSDP Discover

Re: ssh login to cygwin bash?

2018-03-29 Thread Brian Inglis
On 2018-03-29 13:35, Ulli Horlacher wrote: > On Thu 2018-03-29 (13:00), Erik Soderquist wrote: >> On Thu, Mar 29, 2018 at 10:24 AM, Ulli Horlacher wrote: >>> I have installed cygwin openssh and the sshd is running. >>> When I log in, I get a "DOS shell": >>> ~: uname -a >>> CYGWIN_NT-6.1 WIN-LS0QDO

Re: ssh login to cygwin bash?

2018-03-29 Thread Marco Atzeri
On 29/03/2018 21:35, Ulli Horlacher wrote: On Thu 2018-03-29 (13:00), Erik Soderquist wrote: On Thu, Mar 29, 2018 at 10:24 AM, Ulli Horlacher wrote: I have installed cygwin openssh and the sshd is running. When I log in, I get a "DOS shell": ~: uname -a CYGWIN_NT-6.1 WIN-LS0QDOSDIBL 2.10.0(0

Re: ssh login to cygwin bash?

2018-03-29 Thread Brian Inglis
On 2018-03-29 11:00, Erik Soderquist wrote: > On Thu, Mar 29, 2018 at 10:24 AM, Ulli Horlacher wrote: >> >> I have installed cygwin openssh and the sshd is running. >> When I log in, I get a "DOS shell": >> >> ~: uname -a >> CYGWIN_NT-6.1 WIN-LS0QDOSDIBL 2.10.0(0.325/5/3) 2018-02-02 15:21 i686 Cygw

Re: ssh login to cygwin bash?

2018-03-29 Thread Ulli Horlacher
On Thu 2018-03-29 (13:00), Erik Soderquist wrote: > On Thu, Mar 29, 2018 at 10:24 AM, Ulli Horlacher wrote: > > > > > I have installed cygwin openssh and the sshd is running. > > When I log in, I get a "DOS shell": > > > > ~: uname -a > > CYGWIN_NT-6.1 WIN-LS0QDOSDIBL 2.10.0(0.325/5/3) 2018-02-02

Re: ssh login to cygwin bash?

2018-03-29 Thread Andrey Repin
Greetings, Ulli Horlacher! > I have installed cygwin openssh and the sshd is running. > When I log in, I get a "DOS shell": > ~: uname -a > CYGWIN_NT-6.1 WIN-LS0QDOSDIBL 2.10.0(0.325/5/3) 2018-02-02 15:21 i686 Cygwin > ~: ssh localhost > admin@localhost's password: > C:\users\admin> > But I wa

Re: ssh login to cygwin bash?

2018-03-29 Thread Erik Soderquist
On Thu, Mar 29, 2018 at 10:24 AM, Ulli Horlacher wrote: > > I have installed cygwin openssh and the sshd is running. > When I log in, I get a "DOS shell": > > ~: uname -a > CYGWIN_NT-6.1 WIN-LS0QDOSDIBL 2.10.0(0.325/5/3) 2018-02-02 15:21 i686 Cygwin > ~: ssh localhost > admin@localhost's password:

Re: SSH/SFTP Network Performance?

2018-03-23 Thread Eliot Moss
On 3/23/2018 9:54 PM, Jordan Geoghegan wrote: Hi Elliot, It's Eliot, but no matter ... What was your setup that allowed you to reach 500Mbit? How were you copying the files? Were you using SFTP, SCP or rsync? I think I said rsync. It was over ssh. I disable compression since I use this to

Re: SSH/SFTP Network Performance?

2018-03-23 Thread Jordan Geoghegan
Hi Elliot, Thanks for the reply. What was your setup that allowed you to reach 500Mbit? How were you copying the files? Were you using SFTP, SCP or rsync? Was it a Cygwin to Cygwin transfer, or was there another OS involved? Sorry for all the questions, I am just trying to rule out all possi

Re: SSH/SFTP Network Performance?

2018-03-23 Thread L A Walsh
Jordan Geoghegan wrote: Has anyone ever successfully transferred 150Mbps or more over the network using scp/sftp/rsync etc on Cygwin? My experience was to use the cifs protocol as easiest (over local network). With a 10Gb (limited to 8Gb due to running on older PCIe interface) card, I'm

Re: ssh keys not working after server crash

2017-10-20 Thread Erik Soderquist
On Fri, Oct 20, 2017 at 1:36 PM, Andrew Schulman wrote: > maybe someone who does could post their output > of > > ls -ld ~ ~/.ssh ~/.ssh/authorized_keys > > so you could compare your permissions to theirs. my results: username@computername /tmp $ ls -ld ~ ~/.ssh ~/.ssh/authorized_keys drwxr-xr-x

Re: ssh keys not working after server crash

2017-10-20 Thread Andrew Schulman
> Attached are the instructions I used about a year ago to install and it’s > been working fine until about 3 weeks ago. The server crashed (due to MS > patches I believe) and when it came up the system didn’t look right.. I > installed syslog-ng to see if it would help me get some logging. >

Re: SSH Keys breaking symlink access?

2017-05-19 Thread Erik Soderquist
On Fri, May 19, 2017 at 5:30 PM, Erik Soderquist wrote: > This is expected behavior if you have not used "password -R" to > provide the network password. from the doc (https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-setuid-overview): So what we do is to utilize this registry area for the purpo

  1   2   3   4   5   6   7   8   9   10   >