[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SSHD user-switching under Cygwin/XP (was Re: Case insensitivity ad n
From: |
Derek Robert Price |
Subject: |
Re: SSHD user-switching under Cygwin/XP (was Re: Case insensitivity ad nauseum) |
Date: |
Wed, 10 Dec 2003 14:09:17 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Nathan Kidd wrote:
> Derek Robert Price wrote:
>
>>> I didn't carefully read over this whole list of permutations, but at
>>> first glance, perhaps it's just the domain for oberon that's missing?
>>>
>>> e.g.
>>>
>>> net use z: \\empress\oberon /user:empress\oberon <password>
>>>
>>>
>>>
>>> Yep. That's it, I just also have to login using a password rather than
>>> my private/public key pair.
>>
>>
>> As I revisit this, I note however, that this is not sufficient. I'm
>> trying to set up automated testing, so I couldn't enter the password if
>> I wanted to - even saving to a file and attempting to echo it to ssh
>> doesn't work because ssh grabs the TTY to get the password. I really
>> need to use public key authentication, but this prevents SSHD from
>> grabbing the Windows authentication tokens.
>>
>> I think maybe this is a Windows (combined with SSHD?) limitation that I
>> cannot get any access to network resources without authenticating with a
>> password?
>
>
> I don't know if this helps in your situation, but if you are always
> testing from the same machine you could have a persistent connection
> to some share on empress using oberon's password. Any subsequent
> access to any share on empress will automatically use this
> user/password without prompting for it. That is, it is sufficient to
> simply run:
> net use * \\empress\oberon
>
> But then if you do this you might as well make the original connection
> you want as persistent and never even bother with "net use" in your
> script.
>
> (On W2K, at least, it doesn't even seem possible to use a password
> from STDIN.)
That doesn't work. As near as I can tell now based on my experiments
and reading, my problem is that I am attempting to launch the tests via
an automated ssh connection from another computer. SSHD on Cygwin does
user-switching, but only gets Windows auth tokens if you use your
Windows password to login. Since I can't use a password with ssh from
an automated script, I cannot get Windows auth tokens, and without
Windows auth tokens, Windows won't let me see or mount, _any_ network
share, not even a share that allows anonymous connections.
Derek
- --
*8^)
Email: address@hidden
Get CVS support at <http://ximbiot.com>!
- --
I will not carve gods.
I will not carve gods.
I will not carve gods...
- Bart Simpson on chalkboard, _The Simpsons_
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org
iD8DBQE/129cLD1OTBfyMaQRAufGAKDGEogiW2K/vheO9F7KeKnA3N/V8wCg3GMq
16ABCrtdg9dYiLjNChQb2lw=
=LBvf
-----END PGP SIGNATURE-----
- Re: SSHD user-switching under Cygwin/XP (was Re: Case insensitivity ad nauseum), Max Bowsher, 2003/12/05
- Re: SSHD user-switching under Cygwin/XP (was Re: Case insensitivity ad nauseum), Derek Robert Price, 2003/12/05
- Re: SSHD user-switching under Cygwin/XP (was Re: Case insensitivity ad nauseum), Nathan Kidd, 2003/12/05
- Re: SSHD user-switching under Cygwin/XP (was Re: Case insensitivity ad nauseum), Derek Robert Price, 2003/12/10
- Re: SSHD user-switching under Cygwin/XP (was Re: Case insensitivity ad nauseum), Derek Robert Price, 2003/12/10
- Re: SSHD user-switching under Cygwin/XP (was Re: Case insensitivity ad nauseum), Nathan Kidd, 2003/12/10
- Re: SSHD user-switching under Cygwin/XP (was Re: Case insensitivity ad nauseum),
Derek Robert Price <=
- Re: SSHD user-switching under Cygwin/XP (was Re: Case insensitivity ad nauseum), David Wood, 2003/12/10
- Re: SSHD user-switching under Cygwin/XP (was Re: Case insensitivity ad nauseum), Derek Robert Price, 2003/12/10
How to select files from other directories in WinCVS, Phil Labonte, 2003/12/05