delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/08/31/17:29:42

X-Spam-Check-By: sourceware.org
Date: Thu, 31 Aug 2006 17:29:30 -0400 (EDT)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: BeemerBiker <jstateson AT swri DOT edu>
cc: cygwin AT cygwin DOT com
Subject: Re: does scp take windows type: domain\username AT ip ?
In-Reply-To: <ed7k0t$uuq$1@sea.gmane.org>
Message-ID: <Pine.GSO.4.63.0608311728420.14227@access1.cims.nyu.edu>
References: <ed7k0t$uuq$1 AT sea DOT gmane DOT org>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019