Re: cygwin ssh connection from mac to windows Connection closed by XX.XX.XXX.XX port 22

2022-03-08 Thread Andrey Repin
Greetings, Sanjay Gupta! > Issue gets resolved when I did and used my domain password. > So my question is, is this needs to always run whenevery password gets > changed as per domain policy ? Yes. > I read docs about setuid changes and so forth but unable to understand much. > I have tried crea

Re: cygwin ssh connection from mac to windows Connection closed by XX.XX.XXX.XX port 22

2022-02-19 Thread Sanjay Gupta
ed network access within a remote session. You can delete the stored password by specifying an empty password. Enter your current password: Re-enter your current password: Can someone explain use of password -R and why I need to do it ? On Sat, Feb 19, 2022 at 9:15 AM Sanjay Gupta wrote: &g

cygwin ssh connection from mac to windows Connection closed by XX.XX.XXX.XX port 22

2022-02-19 Thread Sanjay Gupta
Cygwin SSH Server runs on Win 10. SSH is running as a service and using local system account as Logon property. I can successfully login using putty on Win 10 ( connection to localhost and providing password when asked) so this works. Same when I try to connect from MAC, I get error Connection

RE: [cygwin] ssh server immediately closing connection

2020-09-02 Thread Jason Pyeron
> -Original Message- > From: Leroy Tennison > Sent: Wednesday, September 2, 2020 3:49 PM > > Attempting to connect using blah@1.2.3.4 (the user and IP address have been > obfuscated), the first > time I'm prompted to accept the host's fingerprint and, after I do, the > connection is imme

Re: If Cygwin ssh, git, etc. can't find your .ssh directory

2020-04-24 Thread Brian Inglis
On 2020-04-24 09:37, Thomas Wolff wrote: > Am 24.04.2020 um 15:46 schrieb Mark Hansen: >> I had a case when I took my office laptop home and found that in the Cygwin >> environment, >> commands were not able to find my .ssh directory. It seemed those commands >> didn't know >> where my home directo

Re: If Cygwin ssh, git, etc. can't find your .ssh directory

2020-04-24 Thread Thomas Wolff
Am 24.04.2020 um 15:46 schrieb Mark Hansen: I had a case when I took my office laptop home and found that in the Cygwin environment, commands were not able to find my .ssh directory. It seemed those commands didn't know where my home directory was, and was defaulting to "/". After asking on th

Re: If Cygwin ssh, git, etc. can't find your .ssh directory

2020-04-24 Thread Mark Hansen
Sorry, this was a mistaken post. If an admin can do so, please delete it. Thanks. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-s

If Cygwin ssh, git, etc. can't find your .ssh directory

2020-04-24 Thread Mark Hansen
I had a case when I took my office laptop home and found that in the Cygwin environment, commands were not able to find my .ssh directory. It seemed those commands didn't know where my home directory was, and was defaulting to "/". After asking on the Cygwin newsgroups, I received the following

Re: Cygwin SSH - seteuid no such device or addresss

2020-02-23 Thread Bill Stewart
On Sun, Feb 23, 2020 at 3:33 AM jinsu mathew wrote: I've setup Cygwin and want to ssh with domain user account on windows > server 2012 R2. It works fine if I start the sshd service with "Local > system account" but if I start the service with a "cygserver" local account > or "domain\cygserver" th

Cygwin SSH - seteuid no such device or addresss

2020-02-23 Thread jinsu mathew via cygwin
I've setup Cygwin and want to ssh with domain user account on windows server 2012 R2. It works fine if I start the sshd service with "Local system account" but if I start the service with a "cygserver" local account or "domain\cygserver" then the service starts fine but when I try to ssh I se

Can't login to Cygwin SSH server with domain account

2016-05-13 Thread Andrei Remenchuk
I am running Cygwin SSH server under local cyg_server account, and I can't login with domain accounts (using password). Connection and authentication succeed, from what I can tell, but then the server immediately closes connection: $ ssh domaintest@localhost domai

Re: cygwin ssh login long login delay while showing "last login"

2015-08-06 Thread Peter
On 06.08.2015 18:52, cygwin-digest-h...@cygwin.com wrote: Peter writes: >I have installed the cygwin ssh daemon on my w7 box with cygwin64. > >When I try to login I always get a long delay or timeouts on the client >side. > >I get quick response for the password and then a s

Re: cygwin ssh login long login delay while showing "last login"

2015-08-06 Thread Mark Geisert
Peter writes: > I have installed the cygwin ssh daemon on my w7 box with cygwin64. > > When I try to login I always get a long delay or timeouts on the client > side. > > I get quick response for the password and then a showing "Last login: ..." > > At this po

cygwin ssh login long login delay while showing "last login"

2015-08-06 Thread Peter
I have installed the cygwin ssh daemon on my w7 box with cygwin64. When I try to login I always get a long delay or timeouts on the client side. I get quick response for the password and then a showing "Last login: ..." At this point the connection hangs for about 30s to 1mi

Re: Cygwin ssh and Windows authentication

2015-08-02 Thread Jarek
On 2015-07-22 23:46, Andrey Repin wrote: Greetings, Jarek! So why are they not needed as your comment doesn't really explain that Read 1.7.35 changelog. In short, username resolution was completely reworked, thanks to Corinna, and Cygwin now directly address domain controllers for it. OK so

Re: Cygwin ssh and Windows authentication

2015-07-24 Thread Jarek
On 2015-07-22 23:46, Andrey Repin wrote: Greetings, Jarek! So why are they not needed as your comment doesn't really explain that Read 1.7.35 changelog. In short, username resolution was completely reworked, thanks to Corinna, and Cygwin now directly address domain controllers for it. OK so

Re: Cygwin ssh and Windows authentication

2015-07-22 Thread Andrey Repin
Greetings, Jarek! > So why are they not needed as your comment doesn't really explain that Read 1.7.35 changelog. In short, username resolution was completely reworked, thanks to Corinna, and Cygwin now directly address domain controllers for it. >>> OK so it addresses DCs

Re: Cygwin ssh and Windows authentication

2015-07-22 Thread Jarek
On 2015-07-21 22:36, Andrey Repin wrote: Greetings, Jarek! So why are they not needed as your comment doesn't really explain that Read 1.7.35 changelog. In short, username resolution was completely reworked, thanks to Corinna, and Cygwin now directly address domain controllers for it. OK so

Re: Cygwin ssh and Windows authentication

2015-07-21 Thread Andrey Repin
Greetings, Jarek! >>> So why are they not needed as your comment doesn't really explain that >> Read 1.7.35 changelog. >> In short, username resolution was completely reworked, thanks to Corinna, and >> Cygwin now directly address domain controllers for it. > OK so it addresses DCs to check some s

Re: Cygwin ssh and Windows authentication

2015-07-21 Thread Jarek
On 2015-07-21 02:25, Andrey Repin wrote: Greetings, Jarek! Hey Andrey. So why are they not needed as your comment doesn't really explain that Read 1.7.35 changelog. In short, username resolution was completely reworked, thanks to Corinna, and Cygwin now directly address domain controllers fo

Re: Cygwin ssh and Windows authentication

2015-07-20 Thread Andrey Repin
Greetings, Jarek! > So why are they not needed as your comment doesn't really explain that Read 1.7.35 changelog. In short, username resolution was completely reworked, thanks to Corinna, and Cygwin now directly address domain controllers for it. > and how exactly did I screwed up my setup if I

Re: Cygwin ssh and Windows authentication

2015-07-20 Thread Jarek
Hi Andrey. So why are they not needed as your comment doesn't really explain that and how exactly did I screwed up my setup if I can actually access the server with a domain user account no problem? Perhaps it's not how it works but it somehow works so again would be good to know why. It's only

Re: Cygwin ssh and Windows authentication

2015-07-20 Thread Jarek
On 2015-07-20 19:52, Matt Seitz (matseitz) wrote: From: Andrey Repin http://cygwin.com/faq/faq.html#faq.using.sshd-in-domain Any suggestions if you can't get your domain admin to create a generic "cyg_server" account for you? I suspect some people in corporate environments may have trouble g

RE: Cygwin ssh and Windows authentication

2015-07-20 Thread Matt Seitz (matseitz)
> From: Andrey Repin > http://cygwin.com/faq/faq.html#faq.using.sshd-in-domain Any suggestions if you can't get your domain admin to create a generic "cyg_server" account for you? I suspect some people in corporate environments may have trouble getting domain admins to create a generic "cyg_se

Re: Cygwin ssh and Windows authentication

2015-07-19 Thread Andrey Repin
Greetings, Jarek! > I'm still quite new to Cygwin. I'm using the most recent version to > install the ssh component on Server 2012R2 member server since it > happened to become a requirement for certain users. The problem I have > is to understand how to allow access for domain groups. I read t

Cygwin ssh and Windows authentication

2015-07-19 Thread Jarek
I'm still quite new to Cygwin. I'm using the most recent version to install the ssh component on Server 2012R2 member server since it happened to become a requirement for certain users. The problem I have is to understand how to allow access for domain groups. I read the new version doesn't eve

Re: cygwin ssh, sspi, gssapi

2014-07-25 Thread Yaakov Selkowitz
On Tue, 2014-07-22 at 18:10 +0200, Thomas Schweikle wrote: > The heimdal packages available for 64-bit cygwin seem not to have > klist and friends available, but the We recently switched Kerberos implementations from Heimdal to MIT's. You will find the Kerberos clients in the krb5-workstation pac

cygwin ssh, sspi, gssapi

2014-07-22 Thread Thomas Schweikle
Hi! After looking arround for informations about cygwin supporting Windows SSPI interface I found various informations telling it does, but a lot of others stating it does not. Now I am a but confused. Does cygwin support SSPI directly? Does it support SSPI via external libraries -- some say I hav

Re: Cygwin SSH and msysGit

2014-02-15 Thread Adam Dinwoodie
On Wed, Feb 05, 2014 at 09:23:30PM +0200, Someone Somebody wrote: > 1. Can Cygwin's Git inter operate with a clone from msysGit? at least > for push/pull purposes? In my experience, Git clones made using one build of Git are fully compatable with another build -- the repository format does not cha

Re: Cygwin SSH and msysGit

2014-02-06 Thread Christopher Faylor
On Thu, Feb 06, 2014 at 09:46:50PM +0200, Someone Somebody wrote: > I did some additional research of my own, it seems that the only >thing that should really be os dependent is in the working dir and the >index file and since this is not relevant for pure push/fetch I think >it might work ok using

Re: Cygwin SSH and msysGit

2014-02-06 Thread Someone Somebody
I did some additional research of my own, it seems that the only thing that should really be os dependent is in the working dir and the index file and since this is not relevant for pure push/fetch I think it might work ok using Cygwin's Git. But who knows... msysGit includes a lot of different p

Re: Cygwin SSH and msysGit

2014-02-05 Thread Andrey Repin
Greetings, Someone Somebody! > I managed to get cygwin SSH working configured to run as SYSTEM and > cyglsa installed. And now I want to setup so I can use Git push/pull > over ssh. > The problem is that to use msysGit I would have to add it's "bin" and > "l

Cygwin SSH and msysGit

2014-02-05 Thread Someone Somebody
I managed to get cygwin SSH working configured to run as SYSTEM and cyglsa installed. And now I want to setup so I can use Git push/pull over ssh. The problem is that to use msysGit I would have to add it's "bin" and "libexec/git" directories to the PATH. But this

Re: SSH key directory defaulting to non-Cygwin SSH client location

2013-09-16 Thread J J
Thank you Christopher. You were spot on. i will install the cygwin version: /home/jd2013 which ssh-keygen /cygdrive/c/PROGRAM FILES/ATTACHMATE/REFLECTION/ssh-keygen -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: htt

Re: SSH key directory defaulting to non-Cygwin SSH client location

2013-09-15 Thread Christopher Faylor
Here's what happens when I try to generate an RSA key file: >/home/jd2013 ssh-keygen -t rsa >Generating public/private rsa key pair. >Enter name for key file: jd2013 >C:\Users\jd2013\Documents\Attachmate\Reflection\.ssh\jd2013 already exists. >Overwrite (y/n)? n There is n

SSH key directory defaulting to non-Cygwin SSH client location

2013-09-15 Thread J J
I recently had to reinstall cygwin on my Windows 7 laptop and am now having trouble getting passwordless ssh to work from my laptop to remote hosts. I have another ssh client, Reflections, installed, and Cygwin insists on using that directory for the ssh key. I would like to use a separate .ssh dir

Re: Unable to delegate credentials from Cygwin ssh client was Re: Heimdal 1.5.2: "unknown mech-code 2529639054 for mech 1 3 6 1 4 1 311 2 2 10"

2013-06-25 Thread Jeffrey Altman
On 6/25/2013 1:23 AM, Nogin, Aleksey wrote: > Jeffrey Altman wrote: > >>> I am running Heimdal's kinit (as came with MobaXterm 6.2) under >>> Windows 7 to get a ticket from a Windows AD, and then ssh'ing into RHEL >>> 5 and 6 boxes set up to use pam_krb to authenticate against the same >>> Windows

RE: Unable to delegate credentials from Cygwin ssh client was Re: Heimdal 1.5.2: "unknown mech-code 2529639054 for mech 1 3 6 1 4 1 311 2 2 10"

2013-06-24 Thread Nogin, Aleksey
Jeffrey Altman wrote: > > I am running Heimdal's kinit (as came with MobaXterm 6.2) under > > Windows 7 to get a ticket from a Windows AD, and then ssh'ing into RHEL > > 5 and 6 boxes set up to use pam_krb to authenticate against the same > > Windows AD. gssapi-with-mic authentication succeeds, b

Unable to delegate credentials from Cygwin ssh client was Re: Heimdal 1.5.2: "unknown mech-code 2529639054 for mech 1 3 6 1 4 1 311 2 2 10"

2013-06-21 Thread Jeffrey Altman
On 6/14/2013 5:39 PM, Nogin, Aleksey wrote: > I am experiencing the same error that Corinna Vinschen have reported on > cygwin-apps mailing list about a year ago without any obvious resolution(*), > and I was wondering whether somebody was able to resolve it since. > > I am running Heimdal's kin

Issue with Cygwin ssh rsync from Unix sh script on Windows 7 64 bit

2013-02-14 Thread govango
I have cygwin installed on both a Win 7 32 bit machine and on Win 7 64 bit machine. The setup on Win 7 32 is working. I am having trouble with the setup on Win 7 64. I am trying to automate cygwin rsync by calling a unix shell script in the /cygdrive/c/cygwin/usr/local/bin. I have ssh installed a

Re: Cygwin ssh vs NIPS

2011-06-15 Thread Ryan Johnson
On 15/06/2011 4:09 PM, steve wrote: I have been using Cygwin for several years to remotely manage my servers via ssh. In the last month our SiteProtector start killing my ssh connections. It is flagging it as a DOS. The specific NIPS rule is "ssh_ChallengeResponse_BO". "This signature looks

Cygwin ssh vs NIPS

2011-06-15 Thread steve
I have been using Cygwin for several years to remotely manage my servers via ssh. In the last month our SiteProtector start killing my ssh connections. It is flagging it as a DOS. The specific NIPS rule is "ssh_ChallengeResponse_BO". "This signature looks at 32768 bytes of SSH connection t

cygwin ssh server error 5

2011-04-18 Thread andyman2011
your system... bla bla Im an ametuer, and dont understand this. What am i doing wrong and how do i fix this??? thanks -- View this message in context: http://old.nabble.com/cygwin-ssh-server-error-5-tp31429649p31429649.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Problem

odd network inconsistency tween 'win-secureCRT' & cygwin-(ssh)

2010-01-10 Thread Linda Walsh
I'm trying to expand my networking horizons ...*cough*. I won't claim I know what I'm doing, so try to keep that in mind... I am trying to 'connect' (in various ways) from my win7-64(athenae) box (on the ".sc" or "default" subnet) to a separate box on another subnet subnet (.hz subnet) through

Re: Connecting to cygwin ssh is slow

2009-06-23 Thread Eric Lenio
I'm a bit late to this thread but I had the same issue and I found a solution that worked for me and wanted to share it. Original thread: http://sourceware.org/ml/cygwin/2009-03/msg00361.html I already had UseDNS=no, but was still seeing about a 5 second delay after seeing the "Last login: Tue Ju

Re: Cygwin SSH Multiple Users

2009-06-09 Thread Larry Hall (Cygwin)
Holikar, Sachin (ext) wrote: Thanks for the reply but problem is no other users are able to see the samba shares through cygwin or via ssh(df). Only the user with which sshd is started is able to see the samba share. Hope I am clear this time. Not entirely but enough that I can hazard a guess

RE: Cygwin SSH Multiple Users

2009-06-09 Thread Holikar, Sachin (ext)
[mailto:cygwin-ow...@cygwin.com] On Behalf Of Huang Bambo Sent: Dienstag, 9. Juni 2009 12:53 To: cygwin@cygwin.com Subject: Re: Cygwin SSH Multiple Users Everyone should mount by itself. 2009/6/9 Holikar, Sachin (ext) : > > > Hi, > > After enough tries we were able to start the sshd in

Re: Cygwin SSH Multiple Users

2009-06-09 Thread Huang Bambo
gt; Any suggestiosns are welcome please. > > Thanks, > Sac > -Original Message- > From: Holikar, Sachin (ext) > Sent: Freitag, 5. Juni 2009 09:09 > To: 'cygwin@cygwin.com' > Subject: RE: Cygwin SSH Multiple Users > > > > Hello, > > We reins

RE: Cygwin SSH Multiple Users

2009-06-09 Thread Holikar, Sachin (ext)
2009 09:09 To: 'cygwin@cygwin.com' Subject: RE: Cygwin SSH Multiple Users Hello, We reinstalled WINXP and CYGWIN with another dumps. But still not able to start the sshd service. Really frustrated as we followed exact steps given in most of the internet help pages. So whats going

Re: Cygwin SSH Multiple Users

2009-06-05 Thread Larry Hall (Cygwin)
. Reformatted. Huang Bambo wrote: 2009/6/5 Holikar, Sachin (ext) holikar ext siemens com>: ^-> Thanks. Hello, We reinstalled WINXP and CYGWIN with an

Re: Cygwin SSH Multiple Users

2009-06-05 Thread Huang Bambo
---Original Message- > From: Holikar, Sachin (ext) > Sent: Donnerstag, 4. Juni 2009 08:14 > To: 'cygwin@cygwin.com' > Subject: RE: Cygwin SSH Multiple Users > > > Hello, > > Thanks for the info Corinna but ultimately we aint able to start the service > som

RE: Cygwin SSH Multiple Users

2009-06-05 Thread Holikar, Sachin (ext)
sshd logs. One file we found is /var/log/sshd.log ...But its empty... Please suggest. Thanks, sac -Original Message- From: Holikar, Sachin (ext) Sent: Donnerstag, 4. Juni 2009 08:14 To: 'cygwin@cygwin.com' Subject: RE: Cygwin SSH Multiple Users Hello, Thanks for the in

Re: Cygwin SSH Multiple Users

2009-06-04 Thread Larry Hall (Cygwin)
Holikar, Sachin (ext) wrote: Hello, Thanks for the info Corinna but ultimately we aint able to start the service somehow. And only way to start is to start with the user mac using /usr/sbin/sshd. But then no other user can connect via ssh to this machine. The work around we provided was copiy

RE: Cygwin SSH Multiple Users

2009-06-03 Thread Holikar, Sachin (ext)
. Thanks, sac -Original Message- From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf Of Corinna Vinschen Sent: Mittwoch, 3. Juni 2009 17:53 To: cygwin@cygwin.com Subject: Re: Cygwin SSH Multiple Users On Jun 3 11:11, Georg Nikodym wrote: > Also, "Win32 er

Re: Cygwin SSH Multiple Users

2009-06-03 Thread Georg Nikodym
On 3-Jun-09, at 11:52 AM, Corinna Vinschen wrote: On Jun 3 11:11, Georg Nikodym wrote: Also, "Win32 error 1062" doesn't tell anybody anything. Paste more of the session to provide some context. bash$ net helpmsg 1062 The service has not been started. Awesome! Old dog, new tricks. -g

Re: Cygwin SSH Multiple Users

2009-06-03 Thread Corinna Vinschen
On Jun 3 11:11, Georg Nikodym wrote: > Also, "Win32 error 1062" doesn't tell anybody anything. Paste more of > the session to provide some context. bash$ net helpmsg 1062 The service has not been started. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to

Re: Cygwin SSH Multiple Users

2009-06-03 Thread Georg Nikodym
On 3-Jun-09, at 10:10 AM, Holikar, Sachin (ext) wrote: Hello, Thanks for the reply. We did play around a lot with ssh-host-config but it used to give errors such that, Win32 error 1062 . Kindly suggest. To be honest, I don't know. I run ssh-host-config, say yes to privilege separation,

RE: Cygwin SSH Multiple Users

2009-06-03 Thread Holikar, Sachin (ext)
(ext) Cc: cygwin@cygwin.com Subject: Re: Cygwin SSH Multiple Users On 3-Jun-09, at 4:13 AM, Holikar, Sachin (ext) wrote: > > Hello, > > We have configured Cygwin on Windows XP. SOmehow we managed to > configure the SSH onto cygwin for a user called "mac". We could >

Re: Cygwin SSH Multiple Users

2009-06-03 Thread Georg Nikodym
On 3-Jun-09, at 4:13 AM, Holikar, Sachin (ext) wrote: Hello, We have configured Cygwin on Windows XP. SOmehow we managed to configure the SSH onto cygwin for a user called "mac". We could login to windows XP with the local user name mac and then start the cygwin. And then /usr/sbin/sshd.

RE: Cygwin SSH Multiple Users

2009-06-03 Thread Holikar, Sachin (ext)
Hello, We have configured Cygwin on Windows XP. SOmehow we managed to configure the SSH onto cygwin for a user called "mac". We could login to windows XP with the local user name mac and then start the cygwin. And then /usr/sbin/sshd. Its the only way currently how we get to start the sshd d

Re: cygwin / ssh / veritas problem: PBX_Acceptor

2009-04-24 Thread Corinna Vinschen
On Apr 24 12:09, Can Ekingen wrote: > Thanks for the detailed answer. > But when I run passwd -R , I get "passwd: unknown option -- R" error. Even > Administrator user gets the same error . ps -ef shows cygrunsrv is owned by > SYSTEM > Also I wanted to try Method 2 but I can't find cyglsa-config ,

Re: cygwin / ssh / veritas problem: PBX_Acceptor

2009-04-24 Thread Can Ekingen
gwin@cygwin.com cygwin-ow...@cygw cc in.com Subject Re: cygwin / ssh /

Re: cygwin / ssh / veritas problem: PBX_Acceptor

2009-04-24 Thread Corinna Vinschen
On Apr 23 16:41, Can Ekingen wrote: > > I installed cygwin base and admin packages along with openssh on a windows > server. Veritas volume manager 5.1 is also installed on this server. I can > ssh to cygwin and run commands remotely by typing password. But I want to > run commands without passwor

cygwin / ssh / veritas problem: PBX_Acceptor

2009-04-23 Thread Can Ekingen
I installed cygwin base and admin packages along with openssh on a windows server. Veritas volume manager 5.1 is also installed on this server. I can ssh to cygwin and run commands remotely by typing password. But I want to run commands without password. So I configured .ssh/authorized_keys2 file,

Re: Fw: How to change the default outgoing port from 22 in cygwin/ssh

2009-03-30 Thread Mark J. Reed
On Mon, Mar 30, 2009 at 1:40 PM, John MacKenzie wrote: > > use CYGwin as an rsync emulator from my Local Windows computer to connect > via SSH to a remote Unix based server for the purposes of backing up files. You're not emulating anything. You're using the Cygwin port of rsync. > My PROBLEM:

Fw: How to change the default outgoing port from 22 in cygwin/ssh

2009-03-30 Thread John MacKenzie
Hi All I am trying to acomplish the following: use CYGwin as an rsync emulator from my Local Windows computer to connect via SSH to a remote Unix based server for the purposes of backing up files. My PROBLEM: my server blocks port 22 for a small measure of security and uses a different port fo

Subject: Re: Connecting to cygwin ssh is slow

2009-03-17 Thread Shaun Broadbent
I came across the very same thing this morning, ironically for the same reasons. After deciding ssh was too slow and seeing some dns errors show up in the log i went to edit sshd_config to remove dns and found as you did that I couldn't. It would seem this was because sshd was running (not that

Re: Connecting to cygwin ssh is slow

2009-03-15 Thread tmcd
On Sun, 15 Mar 2009, UdiK wrote: > Well, I'm still stuck. I tried to change UseDNS to 'no', but editing > the sshd_config file was impossible. The file is owned by cyg_server > and even the Administrator user can't write to it. I tried to change > the file permissions and ssh crashed and the servi

Re: Connecting to cygwin ssh is slow

2009-03-15 Thread UdiK
(I know all the passwords). And what is ident, please? We don't have firewalls on our machines. Sniffing packets like someone suggested is difficult (for me) but I guess I'll try that too. I really appreciate all of your help so far. Thanks. Udi. -- View this message in context: http

Re: Connecting to cygwin ssh is slow

2009-03-12 Thread Henry S. Thompson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Not sure this is your problem, but I had a similar problem and traced it to ident: if the remote machine is trying to ident back to you and you've firewalled port 113, it takes a while to timeout. If you open port 113 it will fail faster. . . ht - --

Re: Connecting to cygwin ssh is slow

2009-03-11 Thread Tom Schutter
Try setting UseDNS to no in /etc/sshd_config. On Wed 2009-03-11 11:07, Mike Marchywka wrote: > > > > > > Date: Wed, 11 Mar 2009 08:57:13 -0700 > > From: u...@commtouch.com > > To: cygwin@cygwin.com > > Subject:

RE: Connecting to cygwin ssh is slow

2009-03-11 Thread Mike Marchywka
> Date: Wed, 11 Mar 2009 08:57:13 -0700 > From: u...@commtouch.com > To: cygwin@cygwin.com > Subject: Re: Connecting to cygwin ssh is slow > > > Thanks for both of your ideas and quick reply. I tried your suggestions but > that s

Re: Connecting to cygwin ssh is slow

2009-03-11 Thread UdiK
ge in context: http://www.nabble.com/Connecting-to-cygwin-ssh-is-slow-tp22455814p22458218.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Document

Re: Connecting to cygwin ssh is slow

2009-03-11 Thread Dave Steenburgh
On Wed, Mar 11, 2009 at 10:53 AM, Allan Schrum wrote: >> -Original Message- >> From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On >> Behalf Of Dave Steenburgh >> Sent: Wednesday, March 11, 2009 10:45 AM >> To: cygwin@cygwin.com >> Subj

RE: Connecting to cygwin ssh is slow

2009-03-11 Thread Allan Schrum
> -Original Message- > From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On > Behalf Of Dave Steenburgh > Sent: Wednesday, March 11, 2009 10:45 AM > To: cygwin@cygwin.com > Subject: Re: Connecting to cygwin ssh is slow > > On Wed, Mar 11, 2009

Re: Connecting to cygwin ssh is slow

2009-03-11 Thread Dave Steenburgh
On Wed, Mar 11, 2009 at 10:05 AM, UdiK wrote: > When I connect to our cygwin SSH machine (Windows 2003 server), it usually > takes more than 5 seconds to get a prompt and be able to start working. This > delay slows down many of our scripts which rely on SSH to connect to > Windo

Connecting to cygwin ssh is slow

2009-03-11 Thread UdiK
Hi. When I connect to our cygwin SSH machine (Windows 2003 server), it usually takes more than 5 seconds to get a prompt and be able to start working. This delay slows down many of our scripts which rely on SSH to connect to Windows. What causes this delay? What is SSH doing that is taking it

Re: Mouting network drives from Cygwin ssh client

2008-12-31 Thread Larry Hall (Cygwin)
Jeenu V wrote: Thanks for the link. I removed the default CYGWIN sshd service and ran: cygrunsrv --install sshd --path /usr/sbin/sshd.exe --user jeevis01 --args '-D' --env 'CYGWIN="ntsec" It asked for my password and installed successfully. However I couldn't start the service, and my /var/log

Re: Mouting network drives from Cygwin ssh client

2008-12-30 Thread Jeenu V
>You were subscribed to the list from Wed Dec 31 05:21:39 2008 GMT to >Wed Dec 31 05:35:48 2008 GMT. > >I'm not too suprised to hear that you didn't see many replies. Err! That was a mistake. -- Thanks Jeenu -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

Re: Mouting network drives from Cygwin ssh client

2008-12-30 Thread Christopher Faylor
On Wed, Dec 31, 2008 at 11:02:19AM +0530, Jeenu V wrote: >PS: Though I've subscribed to the list, replies to this topic is not >reaching my inbox for some reason. I'm reading replies at the archive. You were subscribed to the list from Wed Dec 31 05:21:39 2008 GMT to Wed Dec 31 05:35:48 2008 GMT.

Re: Mouting network drives from Cygwin ssh client

2008-12-30 Thread Jeenu V
em gets solved after the chmod command. However, for me, it doesn't. Please help. PS: Though I've subscribed to the list, replies to this topic is not reaching my inbox for some reason. I'm reading replies at the archive. On Tue, Dec 30, 2008 at 9:11 PM, Jeenu V wrote: > Hi, > &

Re: Mouting network drives from Cygwin ssh client

2008-12-30 Thread Larry Hall (Cygwin)
Jeenu V wrote: Hi, I've a Cygwin ssh server up on Windows XP. My home directory on the host is a network drive (H:) which I'm able to acess locally as /cygdrive/h. When I do ssh to localhost using PuTTY, I'm unable to access the /cygdrive/h path - the mount command only show

Mouting network drives from Cygwin ssh client

2008-12-30 Thread Jeenu V
Hi, I've a Cygwin ssh server up on Windows XP. My home directory on the host is a network drive (H:) which I'm able to acess locally as /cygdrive/h. When I do ssh to localhost using PuTTY, I'm unable to access the /cygdrive/h path - the mount command only shows c: mounted as /cy

Re: Cygwin ssh and MS AD

2007-11-21 Thread pat
On Wed, 21 Nov 2007 14:58:39 +0100, Corinna Vinschen wrote > On Nov 18 23:08, pat wrote: > > Hello, > > > > I need to access from MS Windows to UNIX system using OpenSSH (from Cygwin). > > Both will be authenticated against MS Active Directory. But problem is if > > the > > OpenSSH from Cygwin us

Re: Cygwin ssh and MS AD

2007-11-21 Thread Corinna Vinschen
On Nov 18 23:08, pat wrote: > Hello, > > I need to access from MS Windows to UNIX system using OpenSSH (from Cygwin). > Both will be authenticated against MS Active Directory. But problem is if the > OpenSSH from Cygwin using Kerberos ticket from Windows workstation or not? If you use password au

Cygwin ssh and MS AD

2007-11-18 Thread pat
Hello, I need to access from MS Windows to UNIX system using OpenSSH (from Cygwin). Both will be authenticated against MS Active Directory. But problem is if the OpenSSH from Cygwin using Kerberos ticket from Windows workstation or not? Thanks a lot. Pat -- Unsubscribe info: http://c

Re: NFS + Cygwin + SSH + ssh keys => :(

2007-08-16 Thread Igor Peshansky
On Thu, 16 Aug 2007, Gerry Steele wrote: > > There isn't one, unless you make the shares public. > > Clearly that is preferable. But i spend ~5 hours trying to do that > before trying this. Define "this" and "that"... :-) > when i try to run the sshd services as the windows user it won't > start

Re: NFS + Cygwin + SSH + ssh keys => :(

2007-08-16 Thread Gerry Steele
> There isn't one, unless you make the shares public. Clearly that is preferable. But i spend ~5 hours trying to do that before trying this. when i try to run the sshd services as the windows user it won't start. I gave it permissions to run services but nothing. -- Unsubscribe info: http:/

Re: NFS + Cygwin + SSH + ssh keys => :(

2007-08-16 Thread Igor Peshansky
On Thu, 16 Aug 2007, Gerry Steele wrote: > Hi, > > I've been setting up some scripts to help port some stuff we do to > windows. > > To make it work we need to integrate with NFS shared stuff, so we used > the SFU from MS. Which i understand is a repackaged nfs client et al. > from MKS. > > howeve

NFS + Cygwin + SSH + ssh keys => :(

2007-08-16 Thread Gerry Steele
Hi, I've been setting up some scripts to help port some stuff we do to windows. To make it work we need to integrate with NFS shared stuff, so we used the SFU from MS. Which i understand is a repackaged nfs client et al. from MKS. however we couldn't access NFS drives from the ssh shell. I found

Re: "/bin/bash: permission denied" using Cygwin ssh/sshd under WinXP 2003 x64: resolved

2006-12-14 Thread DePriest, Jason R.
On 12/14/06, Brian Kasper wrote: Jason -- Thanks for replying. I've attached the output of "cygcheck -s -v -r". Frustratingly, it appears that after a reboot (required because my company pushed some updates to my system), ssh to localhost no longer works. If I stop the sshd service, start a

Re: "/bin/bash: permission denied" using Cygwin ssh/sshd under WinXP 2003 x64: resolved

2006-12-14 Thread DePriest, Jason R.
On 12/13/06, Brian Kasper wrote: I've been having terrible problems getting Cygwin ssh/sshd to work under the x64 version of WinXP 2003 SP1. First Problem reports: http://cygwin.com/problems.html (attach cygcheck -s -v -r output) Did you install sshd with the ssh-host-config s

"/bin/bash: permission denied" using Cygwin ssh/sshd under WinXP 2003 x64: resolved

2006-12-13 Thread Brian Kasper
I've been having terrible problems getting Cygwin ssh/sshd to work under the x64 version of WinXP 2003 SP1. The basic symptom has been that if I ran sshd as a service, I was unable to run any executables during the ssh login procedure. This included bash.exe, so my attempts to ssh

Re: Windows mysql client hangs in cygwin ssh shell

2006-03-24 Thread Igor Peshansky
On Fri, 24 Mar 2006, Paul G Cantalupo wrote: > Hello, > > When I run the Windows mysql client from a cygwin bash shell everything > works fine. But when I run the Windows mysql client after logging into > my computer with ssh, then the client hangs - read: I don't see 'Enter > password:'. If I run

Windows mysql client hangs in cygwin ssh shell

2006-03-24 Thread Paul G Cantalupo
Hello, When I run the Windows mysql client from a cygwin bash shell everything works fine. But when I run the Windows mysql client after logging into my computer with ssh, then the client hangs - read: I don't see 'Enter password:'. If I run a cygwin compiled source version of mysql, it works

1.5.19 - Cygwin / ssh server / windows 2003

2006-03-10 Thread Le Foll, Olivier
Hello, I have a problem using OpenSSH under Cygwin on a W2K3 server and I didn't find any valid solution on web even there are a lot of messages. My problem : I deployed cygwin (DLL 1.5.19) with openssh 4.3p2 on several w2k3 servers and behaviour is the same : It is possible to connect to

Re: Lock down CYGWIN SSH User to single directory.

2005-11-17 Thread Corinna Vinschen
On Nov 17 20:08, JMCColorado wrote: > René Berber computer.org> writes: > > http://chrootssh.sourceforge.net/ > > I have heard that CHRoot might work, but I have also heard that it > still allows someone to SCP outside of where they can SSH to. The chroot system call only works inside Cygwin.

Re: Lock down CYGWIN SSH User to single directory.

2005-11-17 Thread JMCColorado
René Berber computer.org> writes: > > JMCColorado wrote: > > > Is there any way to only allow a user SSH access to a single directory tree? > > I need to lock the user out of EVERYTHING else. > > You need something like this: > > http://olivier.sessink.nl/jailkit/index.html#intro > > It ha

Re: Lock down CYGWIN SSH User to single directory.

2005-11-17 Thread René Berber
JMCColorado wrote: > Is there any way to only allow a user SSH access to a single directory tree? > I need to lock the user out of EVERYTHING else. You need something like this: http://olivier.sessink.nl/jailkit/index.html#intro It hasn't been tested under the Cygwin environment and it's not

Re: Lock down CYGWIN SSH User to single directory.

2005-11-17 Thread Corinna Vinschen
On Nov 17 17:18, JMCColorado wrote: > Is there any way to only allow a user SSH access to a single directory tree? > I need to lock the user out of EVERYTHING else. The file and directory permissions are the key. Cygwin can only lock the user as far as the underlying permissions go. After all, C

  1   2   >