X-Spam-Check-By: sourceware.org Date: Thu, 31 Aug 2006 17:29:30 -0400 (EDT) From: Igor Peshansky Reply-To: cygwin AT cygwin DOT com To: BeemerBiker cc: cygwin AT cygwin DOT com Subject: Re: does scp take windows type: domain\username AT ip ? In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Thu, 31 Aug 2006, BeemerBiker wrote: > Running that cygwin sshd under XP, I can get scp to copy to my local PC > from a Linux box just fine for local users like admin > > scp test.sh Administrator AT myIP > > the above works fine and puts test.sh into /cygwin/home/Administrator > > I cant seem to get scp to work for authenticated users from a domain eg: > > If I try myDomain\myUsername AT myIP the \ is stripped off and the copy fails > as shown below > (swri16\jstateson) > > Bringing up the Event Viewer I read where sshd reports > Failed password for invalid user swri16jstateson from 129.162.164.124 port > 2002 ssh2 > > if I try two backslashes \\ the following error: > > Failed password for invalid user swri16\\jstateson from 129.162.164.124 port > 2033 ssh2 > > a forward slash is no better > > So is it possible to use a micro$oft type domain\username when copying > from a linux box not on the domain to a windows PC on the domain? No, but you can run "mkpasswd -d" on the windows box and use the username without the domain specifier (or edit /etc/passwd to give the user any name you wish). Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte." "But no -- you are no fool; you call yourself a fool, there's proof enough in that!" -- Rostand, "Cyrano de Bergerac" -- 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/