Re: Cygwin 1.7 crontab question

2009-10-21 Thread Dmitry Semyonov
On Wed, Oct 21, 2009 at 22:14, Larry W. Virden wrote: However, I don't know what environment variables the crontab entries will have. Look at X-Cron-Env headers in e-mail notifications generated by cron. When the time passed for my script to run, I don't see any indication that it

sshd -- Note that the CYGWIN=ntsec setting is required for public key authentication

2009-09-14 Thread Dmitry Semyonov
Hello all, I recently had to switch CYGWIN environment of sshd service from 'ntsec' to 'nontsec' (because of 'sed -i' breaking inherited access rights to some files used by native Windows apps). All seem to work fine after the change, including public key logins to modified sshd, but $subj quote

Re: ssh pubkey auth problems on cygwin 1.5.25

2009-01-30 Thread Dmitry Semyonov
On Sat, Jan 31, 2009 at 01:08, Tom Schutter wrote: I have successfully setup and used this exact scenario on 21 other machines. I am only having a problem with this one specific machine. [...] I have tried reinstalling ssh and rerunning ssh-host-config. Below is what I usually recommend as

Re: Help me please install OpenSSH Server on Windows Vista

2009-01-18 Thread Dmitry Semyonov
On Sun, Jan 18, 2009 at 16:12, Alexey Eremenko wrote: $ cygrunsrv -S sshd and I hope SSH service started but have no idea if it really started... cygrunsrv -Q sshd C:\cygwin\binssh localhost ssh_exchange_identification: Connection closed by remote host It still does not work. What else

Re: automate SSH-HOST-CONFIG

2009-01-15 Thread Dmitry Semyonov
On Tue, Jan 13, 2009 at 22:16, blazt wrote: I created the script based on yours but it never sends the expect back to the program. #!/bin/bash This line was not included into my sample. I doubt it can work this way. #!./expect -f Why the dot-slash? Do you have expect executable in your

Re: automate SSH-HOST-CONFIG

2009-01-13 Thread Dmitry Semyonov
Hi Johnny, On Tue, Jan 13, 2009 at 03:28, blazt wrote: I am not sure how to do a except script. I have been looking at what I can find on the net. It is 'expect', not 'except'. It's enough to read 'man expect' for basics. You'll have to learn some Tcl docs for advanced usage, (not required

Re: automate SSH-HOST-CONFIG

2009-01-10 Thread Dmitry Semyonov
On Sat, Jan 10, 2009 at 03:34, blazt wrote: How can I automate this process? Create 'expect' script. You'll likely have to update it here and there after ssh-host-config upgrades though. -- ...Bye..Dmitry. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

Re: Bash process hangs around forever after ssh disconnect

2008-11-24 Thread Dmitry Semyonov
Michael, On Sat, Nov 22, 2008 at 22:49, Michael Hipp [EMAIL PROTECTED] wrote: I'm logging in to a W2k server via cygwin sshd and using Putty as my terminal emulator. If my ssh connection gets dropped for any reason the bash.exe process on the host just stays there forever. Also, anything I

Re: SSH dropping out

2008-11-06 Thread Dmitry Semyonov
On Thu, Nov 6, 2008 at 13:33, Edward Ludlow wrote: I have data on a remote mySQL server that to edit, I have to SSH port forward to. [...] This works fine, except that once connected, if there's no communication with the mysql server for a certain period of time (sometimes 5 minutes, other

Re: cygwin 1.5.25-15: ssh-host-config gives: There are still ssh processes running. Please shut them down first.

2008-11-06 Thread Dmitry Semyonov
On Thu, Nov 6, 2008 at 20:56, Thorsten Kampe wrote: ps -ef | grep -v grep | grep ssh Does not make sense in Cygwin. Better use ps -W |grep ssh -- ...Bye..Dmitry. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html

Re: cygwin 1.5.25-15: ssh-host-config gives: There are still ssh processes running. Please shut them down first.

2008-11-06 Thread Dmitry Semyonov
2008/11/6 Dmitry Semyonov: On Thu, Nov 6, 2008 at 20:56, Thorsten Kampe wrote: ps -ef | grep -v grep | grep ssh Does not make sense in Cygwin. It makes sense. Sorry for the noise. I was so used to BSD style syntax for ps options that didn't know '-ef' and 'ef' are not the same thing

Re: gui connecting to net shares from an ssh session

2008-10-09 Thread Dmitry Semyonov
On Thu, Oct 9, 2008 at 16:24, Sam Liddicott wrote: Part of what is being tested is connecting to remote shares. However :-) an ssh client login (even with a password) doesn't seem to have the right domain credentials, so that a password prompt is presented when a connection is made. [...]

Re: cvs client is too verbose since update to 1.11.22.1 (or earlier?) version

2008-09-30 Thread Dmitry Semyonov
On Mon, Sep 29, 2008 at 17:51, Dmitry Semyonov [EMAIL PROTECTED] wrote: cvs update: closing down connection to cvs.example.com cvs commit: closing down connection to cvs.example.com: No such file or directory cvs checkout: closing down connection to cvs.example.com: No such file

cvs client is too verbose since update to 1.11.22.1 (or earlier?) version

2008-09-29 Thread Dmitry Semyonov
It looks like some debugging logs were accidentally switched on in cvs client sources. They appear even if -q option is used. Note that everything works as expected except for these annoying log messages at the end: cvs update: closing down connection to cvs.example.com cvs commit: closing down

ash-20040127-3: Invalid behavior of negated pipeline

2008-08-12 Thread Dmitry Semyonov
Hello all, -- begin -- $ bash -c '! true | false; echo $?' 0 $ ash -c '! true | false; echo $?' 1 -- end -- Mostly if conditions are affected by this issue. Quote[1] from the Shell Command Language standard: If the reserved word ! does not precede the pipeline, the exit status shall be the

Cygwin/ssmtp-2.61-1/ssmtp-config fails to create /etc/ssmtp/ssmtp.conf

2008-04-09 Thread Dmitry Semyonov
Hello Chuck, The script expects /etc/ssmtp folder to be created during package installation, but current ssmtp package does not create it. Therefore, either ssmtp-config or package installation script should be fixed to create /etc/ssmtp folder. $ cygcheck -c ssmtp Cygwin Package Information