Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <003601bec9da$19031b00$680311ac@brokat.de> From: "Torsten Poertner" To: "Maillist Cygnus" Subject: probs with scp and sshd for NT Date: Fri, 9 Jul 1999 09:10:16 +0200 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0032_01BEC9EA.DC5FAAE0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 ------=_NextPart_000_0032_01BEC9EA.DC5FAAE0 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0033_01BEC9EA.DC5FAAE0" ------=_NextPart_001_0033_01BEC9EA.DC5FAAE0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello all ! I followed up all necessary instructions to set up the unix environment = on my NT 4.0 (SP4) workstation. I'm using 20b and sshd 1-2-26 and facing = the following problems: 1. While trying to copy a file from a unix box with scp to my pc the = console for the sshd (started in debug mode) shows the fllowing output: -------------------------- debug: sshd version 1.2.26 [i586-pc-cygwin32] debug: Initializing random number generator; seed file = /etc/.ssh/ssh_random_seed log: Server listening on port 22. log: Generating 768 bit RSA key. Generating p: ...................................++ (distance 480) Generating q: ..........++ (distance 274) Computing the keys... Testing the keys... Key generation complete. log: RSA key generation complete. debug: Server will not fork when running in debugging mode. log: Connection from 172.17.3.15 port 1022 debug: Client protocol version 1.5; client software version 1.2.20 debug: Sent 768 bit public key and 1024 bit host key. debug: Encryption type: idea debug: Received session key; encryption turned on. debug: Installing crc compensation attack detector. debug: Attempting authentication for tpoert. log: Password authentication for tpoert accepted. debug: Executing command 'scp -t /tmp' debug: Entering interactive session. debug: Received SIGCHLD. debug: End of interactive session; stdin 0, stdout (read 0, sent 0), = stderr 174 bytes. debug: Command exited with status 127. debug: Received exit confirmation. log: Closing connection to 172.17.3.15 ---------------------------- The console of the unix box displays that: ---------------------------- scp cotp tpoert AT pc-tpoertner:/tmp = =20 tpoert's password:=20 log: executing remote command as user tpoert Environment: HOME=3D/etc USER=3Dtpoert LOGNAME=3Dtpoert SHELL=3D/bin/sh SSH_CLIENT=3D172.17.3.15 1023 22 scp: permission denied lost connection =20 2. login into my pc works fine with ssh from a unix box untill you try = to open a file with vi. Even cat | more brings up the message = that I don't have any permissions. I have an administrator account on that pc and set all necessary and = additional privileges. Any idea for these issues ?? Thanks very much ! Torsten ------=_NextPart_001_0033_01BEC9EA.DC5FAAE0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello all !
 
I followed up all necessary instructions to set up the unix = environment on=20 my NT 4.0 (SP4) workstation. I'm using 20b and sshd 1-2-26 and facing = the=20 following problems:
 
1. While trying to copy a file from a unix box with scp to my pc = the=20 console for the sshd (started in debug mode) shows the fllowing = output:
--------------------------
debug: sshd version 1.2.26 [i586-pc-cygwin32]
debug: = Initializing random=20 number generator; seed file /etc/.ssh/ssh_random_seed
 
log: Server listening on port 22.
log: Generating 768 bit RSA=20 key.
Generating p:  ...................................++ = (distance=20 480)
Generating q:  ..........++ (distance 274)
Computing the = keys...
Testing the keys...
Key generation complete.
log: RSA = key=20 generation complete.
debug: Server will not fork when running in = debugging=20 mode.
log: Connection from 172.17.3.15 port 1022
debug: Client = protocol=20 version 1.5; client software version 1.2.20
debug: Sent 768 bit = public key=20 and 1024 bit host key.
debug: Encryption type: idea
debug: = Received=20 session key; encryption turned on.
debug: Installing crc compensation = attack=20 detector.
debug: Attempting authentication for tpoert.
log: = Password=20 authentication for tpoert accepted.
debug: Executing command 'scp -t=20 /tmp'
debug: Entering interactive session.
debug: Received=20 SIGCHLD.
debug: End of interactive session; stdin 0, stdout (read 0, = sent 0),=20 stderr 174
bytes.
debug: Command exited with status 127.
debug: = Received exit confirmation.
log: Closing connection to = 172.17.3.15
----------------------------
The console of the unix box displays that:
----------------------------
<tpoert AT sun-schul-01:pts/2(~)> scp cotp=20 tpoert AT pc-tpoertner:/tmp        &= nbsp;           &n= bsp;           &nb= sp;=20
tpoert's password:
log: executing remote command as user=20 tpoert
Environment:
  HOME=3D/etc
  = USER=3Dtpoert
 =20 LOGNAME=3Dtpoert
  SHELL=3D/bin/sh
  = SSH_CLIENT=3D172.17.3.15 1023=20 22
 
scp: permission denied
lost=20 connection
<tpoert AT sun-schul-01:pts/2(~)>
 
2. login into my pc works fine with ssh from a unix box untill you = try to=20 open a file with vi. Even cat <filename> | more brings up the = message that=20 I don't have any permissions.
I have an administrator account on that pc and set all necessary = and=20 additional privileges.
 
 
Any idea for these issues ??
 
Thanks very much !
 
Torsten
 
------=_NextPart_001_0033_01BEC9EA.DC5FAAE0-- ------=_NextPart_000_0032_01BEC9EA.DC5FAAE0 Content-Type: text/x-vcard; name="Torsten Poertner.vcf" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="Torsten Poertner.vcf" BEGIN:VCARD VERSION:2.1 N:Poertner;Torsten FN:Torsten Poertner NICKNAME:tp ORG:BROKAT Infosystems AG;Quality Management TITLE:Senior Quality Engineer TEL;WORK;VOICE:+49-711-78844-225 TEL;WORK;FAX:+49-711-78844-776 ADR;WORK:;4B-08;Industriestrasse 3;Stuttgart;BW;70565;Germany LABEL;WORK;ENCODING=3DQUOTED-PRINTABLE:4B-08=3D0D=3D0AIndustriestrasse = 3=3D0D=3D0AStuttgart, BW 70565=3D0D=3D0AGermany URL: URL:http://www.brokat.com KEY;X509;ENCODING=3DBASE64: = MIIEwjCCBCugAwIBAgIQEiMaafrrxyrcZzrY1E99/jANBgkqhkiG9w0BAQQFADCBzDEXMBUG = A1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZlcmlTaWduIFRydXN0IE5ldHdvcmsx = RjBEBgNVBAsTPXd3dy52ZXJpc2lnbi5jb20vcmVwb3NpdG9yeS9SUEEgSW5jb3JwLiBC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NjljNzM1OWJlZDFiMDU5ZGE3NWJjNGJjOTcwMTc0N2RhNWMy = ZTQxNDFiZWFkYjJiZDJlODkyMTFhYzZiZjdkZTExNDk5N2EwYmI0NGY0ZjNlYTQ1MjUwMwYD = VR0fBCwwKjAooCagJIYiaHR0cDovL2NybC52ZXJpc2lnbi5jb20vY2xhc3MxLmNybDANBgkq = hkiG9w0BAQQFAAOBgQA0auaMLk/cLCZ9DUeKd4+3l/zZOhcWRDAR/0ptlcxWs+l1hxiK9j7E = Ey293X1CtdQnYBvNswmKNS42Tlh4qVP95GAtlwhJkQRtMeCoXT0ylTvaAkWh8tEwNYXim5/K eX/rSJ2g0gEqzqK3pWEYsvb/P1VDppMwtbSMoy42H9vBow=3D=3D EMAIL;PREF;INTERNET:Torsten DOT Poertner AT brokat DOT com REV:19990709T071016Z END:VCARD ------=_NextPart_000_0032_01BEC9EA.DC5FAAE0 Content-Type: text/plain; charset=us-ascii -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com ------=_NextPart_000_0032_01BEC9EA.DC5FAAE0--