Mail Archives: cygwin/2005/12/18/13:56:18
On Sat 12/17/05 16:45 EST cygwin AT cygwin DOT com wrote:
> On Sat, Dec 17, 2005 at 01:52:17PM -0600, Tom Rodman wrote:
> >background (why plink is used):
--snip
> If you can't duplicate this problem with "off-the-shelf" components
--snip
test case w/"off-the-shelf" components:
October 29 cygwin1.dll snapshot working OK:
~ $ uname -a
CYGWIN_NT-5.0 OurServer108 1.5.19s(0.141/4/2) 20051029 16:39:28 i686 unknown unknown Cygwin
~ $ id
uid=15773(staffuser1) gid=16027(XYZ_ES_STAFF) groups=544(Administrators),10513(Domain Users),16026(XYZ_ES_ADMIN),16027(XYZ_ES_STAFF),16024(XYZ_Users),545(Users)
~ $ ssh-add -l
2048 18:0b:ca:a6:50:71:4e:d4:2b:ed:a5:41:46:91:cc:0e /home/local/staffuser1/.ssh/id_rsa.OurServer108 (RSA)
~ $ ssh localhost 'cd /tmp;set -x;cat bar.bat;cmd /c bar.bat'|head -15
+ cat bar.bat
+ cmd /c bar.bat
echo hi
netstat -n
c:\aut\cyg\tmp>echo hi
hi
c:\aut\cyg\tmp>netstat -n
Active Connections
Proto Local Address Foreign Address State
TCP 10.160.5.180:22 10.165.10.182:46935 ESTABLISHED
TCP 10.160.5.180:445 10.160.5.191:3953 ESTABLISHED
TCP 10.160.5.180:445 10.160.5.192:1883 ESTABLISHED
TCP 10.160.5.180:1097 10.160.5.180:5413 ESTABLISHED
~ $
Dec 14 cygwin1.dll snapshot - STDOUT is lost:
~ $ uname -a
CYGWIN_NT-5.0 OurServer108 1.5.19s(0.148/4/2) 20051214 14:58:27 i686 unknown unknown Cygwin
~ $ id
uid=15773(staffuser1) gid=16027(XYZ_ES_STAFF) groups=544(Administrators),10513(Domain Users),16026(XYZ_ES_ADMIN),16027(XYZ_ES_STAFF),16024(XYZ_Users),545(Users)
~ $ ssh-add -l
2048 18:0b:ca:a6:50:71:4e:d4:2b:ed:a5:41:46:91:cc:0e /home/local/staffuser1/.ssh/id_rsa.OurServer108 (RSA)
~ $ ssh localhost 'cd /tmp;set -x;cat bar.bat;cmd /c bar.bat'
+ cat bar.bat
echo hi
netstat -n
+ cmd /c bar.bat
c:\aut\cyg\tmp>echo hi
hi
c:\aut\cyg\tmp>netstat -n
~ $
--
I still plan to create a test case using expect, and password authentication..
--
thanks much/regards,
Tom Rodman
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -