Ruby

2013-06-08 Thread L. V. Lammert
Trying to create an install procedure for a simple Ruby script using rest-client for our remote Windows machines, but Ruby is choking on openssl [on a newly installed machine - runs fine on my dev VMs]: $ irb irb(main):001:0> require 'openssl' LoadError: No such process - /usr/lib/ruby/1.9.1/i386-

LDD blocking

2013-06-12 Thread L. V. Lammert
Trying to figure out why Ruby/openssl.so are not working under Cygwin, I realized recently that cygcheck openssl.so works properly: $ cygcheck.exe /usr/lib/ruby/1.9.1/i386-cygwin/openssl.so C:\Progra~1\Cygwin\lib\ruby\1.9.1\i386-cygwin\openssl.so C:\Progra~1\Cygwin\bin\cygruby191.dll C:\Prog

Home directory issue

2013-07-02 Thread L. V. Lammert
After installing Cygwin on a new system that is in a domain, there is something that is breaking with user setup. * The user home directory is not getting created * /usr/loca/bin & /usr/bin are not prepended to PATH * The user home directory is /cygdrive/Users/, instead of /home/ * The pat

IPV6 on 2003 R2

2013-07-11 Thread L. V. Lammert
Trying to get sshd running under Cygwin, .. it appears that Windows is presenting an IPV6 ONLY configuration - sshd refuses to start with "Address Family inet", and with the default "Address Family any", I can get a *local* connection, but NOT a connection from a remote server! Cygwin current (CYG

Troubleshooting AutoSSH

2013-07-11 Thread L. V. Lammert
Trying to debug a session, .. neither AUTOSSH_DEBUG nor AUTOSSH_LOGLEVEL: $ env | grep AUTO AUTOSSH_DEBUG=1 AUTOSSH_LOGLEVEL=7 nor -vv: cygrunsrv -I AutoSSH -f "remote_link" -p /usr/bin/autossh -a " -vv \ change the logging info always ("Host key verification filed"); what is the correct way to

Re: Troubleshooting AutoSSH

2013-07-12 Thread L. V. Lammert
On Fri, 12 Jul 2013, Andrew Schulman wrote: > > Trying to debug a session, .. neither AUTOSSH_DEBUG nor AUTOSSH_LOGLEVEL: > > > > $ env | grep AUTO > > AUTOSSH_DEBUG=1 > > AUTOSSH_LOGLEVEL=7 > > > > nor -vv: > > > > cygrunsrv -I AutoSSH -f "remote_link" -p /usr/bin/autossh -a " -vv \ > > > > chang

Re: Troubleshooting AutoSSH

2013-07-12 Thread L. V. Lammert
On Fri, 12 Jul 2013, Andrew Schulman wrote: > Hi Lee. Okay, that does seem to narrow it down. > > You're right that autossh doesn't have any ipv4 options. It hasn't been > updated in a few years, and I think it's just not ipv6-aware yet. > Looks like it may not be autossh - if I start sshd with

Re: Troubleshooting AutoSSH

2013-07-12 Thread L. V. Lammert
On Fri, 12 Jul 2013, Andrew Schulman wrote: > > It looks like *sshd* can only bind IPV6 - forcing it to bind IPV4 only > > prevents startup. > > OK. So does it work then to pass the -6 flag to ssh? > I did not try forcing -6 because that was the only way it would connect (i.e. sshd would only sta

Problem binding OpenSSH_6.2p2 to IPV4 stack

2013-07-15 Thread L. V. Lammert
After troubleshooting an AutoSSH problem last week, it appears that on this 2003R2 box sshd cannot bind to the IPV4 stack! Rather, with the default configuration it binds to IPV6 (and supports a loopback connection fine), but a remote connection fails. When sshd is forced to bind IPV4 ("Addressfami

fetchmail version problem

2013-07-25 Thread L. V. Lammert
Did a new installation this afternoon, ran into a problem with fetchmail: /usr/bin/fetchmail.exe: error while loading shared libraries: cygssl-0.9.8.dll: cannot open shared object file: No such file or directory The version of cygssl that installed, was 1.0.0: /usr/bin/cygssl-1.0.0.dll I tried

Re: fetchmail version problem

2013-07-25 Thread L. V. Lammert
On Thu, 25 Jul 2013, Larry Hall (Cygwin) wrote: > 'cygcheck /usr/bin/fetchmail.exe' for me shows a dependency on > cygssl-1.0.0.dll, not cygssl-0.9.8.dll. You might want to check your > versions of executables, DLLs, and packages. If you can't figure out why > you see this dependency, you can ju