This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SSHD key based authentication hangs cscript


On 5/4/2005 7:46 PM, Stuart Westbury wrote:
On a similar note, can anyone who may have had this issue suggest any
alternative way to run remote commands on a windows box from linux with some
form of transparent authentication, or am I dreaming? :)

You can install an sshd service under a user account. Users logging into that service as the user running the service will have a complete Windows authentication token.


There are some caveats, though. You can only login as the user running the service. So, if you need to run commands on the remote Windows machine as a number of different users, you'd need to set up a separate sshd service for each user. (Note this is not a restriction on the number of users on the linux box that can invoke remote commands on the Windows machine, only on the number of users those remote commands are run as.)

If you do this, each server needs to be on a separate port and each server will need its on configuration file and host keys (and you'll have to specify the configuration file in the command-line of the service when you install it). Also, you'll need to disable privilege separation.

BTW, you can still run a server as SYSTEM (on some port) for more general-purpose remote access.

--
David Rothenberger                spammer? -> spam@daveroth.dyndns.org
GPG/PGP: 0x7F67E734, C233 365A 25EF 2C5F C8E1 43DF B44F BA26 7F67 E734

There's a lesson that I need to remember
When everything is falling apart
In life, just like in loving
There's such a thing as trying to hard

You've gotta sing
Like you don't need the money
Love like you'll never get hurt
You've gotta dance
Like nobody's watching
It's gotta come from the heart
If you want it to work.
		-- Kathy Mattea


-- 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]