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 [EMAIL PROTECTED]
>
> 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 [EMAIL PROTECTED] 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/
      |\      _,,,---,,_            [EMAIL PROTECTED] | [EMAIL PROTECTED]
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/

Reply via email to