* can't run devenv through sshd
@ 2007-11-20 18:35 Derek Lei Liu
2007-11-20 18:39 ` Dave Korn
2007-11-20 18:44 ` Dave Korn
0 siblings, 2 replies; 6+ messages in thread
From: Derek Lei Liu @ 2007-11-20 18:35 UTC (permalink / raw)
To: cygwin
I am relatively new to cygwin world, so please bear with me for any
naive questions. Basically i have 2003 server with cygwin running, i
also have the opensshd running which comes from cygwin package. i can
ssh into 2003 server no problem, but for some reason, i can't run
devenv.exe or devenv.com (the windows build utility) from ssh session.
The same can be run no problem at local cygwin window though. So the
problem is definitely with sshd configuration.
I checked the archive and did checking "whoami", it gives back correct
user name which is the one i used to ssh in. right now, i am out of
ideas. Following is my sshd_config file and i hope some expert out
there can help me out and i would really appreciate any help on this
matter.
thanks
Derek
$OpenBSD: sshd_config,v 1.75 2007/03/19 01:01:29 djm Exp $
# This is the sshd server system-wide configuration file. See
# sshd_config(5) for more information.
# This sshd was compiled with PATH=/bin:/usr/sbin:/sbin:/usr/bin
# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented. Uncommented options change a
# default value.
Port 22
#AddressFamily any
#ListenAddress 0.0.0.0
#ListenAddress ::
# Disable legacy (protocol version 1) support in the server for new
# installations. In future the default will change to require explicit
# activation of protocol 1
Protocol 2
# HostKey for protocol version 1
#HostKey /etc/ssh_host_key
# HostKeys for protocol version 2
#HostKey /etc/ssh_host_rsa_key
#HostKey /etc/ssh_host_dsa_key
# Lifetime and size of ephemeral version 1 server key
#KeyRegenerationInterval 1h
#ServerKeyBits 768
# Logging
# obsoletes QuietMode and FascistLogging
#SyslogFacility AUTH
#LogLevel INFO
# Authentication:
#LoginGraceTime 2m
#PermitRootLogin yes
StrictModes no
#MaxAuthTries 6
#RSAAuthentication yes
#PubkeyAuthentication yes
#AuthorizedKeysFile .ssh/authorized_keys
# For this to work you will also need host keys in /etc/ssh_known_hosts
#RhostsRSAAuthentication no
# similar for protocol version 2
#HostbasedAuthentication no
# Change to yes if you don't trust ~/.ssh/known_hosts for
# RhostsRSAAuthentication and HostbasedAuthentication
#IgnoreUserKnownHosts no
# Don't read the user's ~/.rhosts and ~/.shosts files
#IgnoreRhosts yes
# To disable tunneled clear text passwords, change to no here!
#PasswordAuthentication yes
#PermitEmptyPasswords no
# Change to no to disable s/key passwords
#ChallengeResponseAuthentication yes
# Kerberos options
#KerberosAuthentication no
#KerberosOrLocalPasswd yes
#KerberosTicketCleanup yes
#KerberosGetAFSToken no
# GSSAPI options
#GSSAPIAuthentication no
#GSSAPICleanupCredentials yes
# Set this to 'yes' to enable PAM authentication, account processing,
# and session processing. If this is enabled, PAM authentication will
# be allowed through the ChallengeResponseAuthentication and
# PasswordAuthentication. Depending on your PAM configuration,
# PAM authentication via ChallengeResponseAuthentication may bypass
# the setting of "PermitRootLogin without-password".
# If you just want the PAM account and session checks to run without
# PAM authentication, then enable this but set PasswordAuthentication
# and ChallengeResponseAuthentication to 'no'.
#UsePAM no
#AllowTcpForwarding yes
#GatewayPorts no
#X11Forwarding no
#X11DisplayOffset 10
#X11UseLocalhost yes
#PrintMotd yes
#PrintLastLog yes
#TCPKeepAlive yes
#UseLogin no
UsePrivilegeSeparation yes
#PermitUserEnvironment no
#Compression delayed
#ClientAliveInterval 0
#ClientAliveCountMax 3
#UseDNS yes
#PidFile /var/run/sshd.pid
#MaxStartups 10
#PermitTunnel no
# no default banner path
#Banner /some/path
# override default of no subsystems
Subsystem sftp /usr/sbin/sftp-server
# Example of overriding settings on a per-user basis
#Match User anoncvs
# X11Forwarding no
# AllowTcpForwarding no
# ForceCommand cvs server
--
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/
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: can't run devenv through sshd
2007-11-20 18:35 can't run devenv through sshd Derek Lei Liu
@ 2007-11-20 18:39 ` Dave Korn
2007-11-20 18:44 ` Dave Korn
1 sibling, 0 replies; 6+ messages in thread
From: Dave Korn @ 2007-11-20 18:39 UTC (permalink / raw)
To: cygwin
On 20 November 2007 18:26, Derek Lei Liu wrote:
> I am relatively new to cygwin world, so please bear with me for any
> naive questions. Basically i have 2003 server with cygwin running, i
> also have the opensshd running which comes from cygwin package. i can
> ssh into 2003 server no problem, but for some reason, i can't run
> devenv.exe or devenv.com (the windows build utility) from ssh session.
This is a known problem with 2003. See the thread
http://cygwin.com/ml/cygwin/2007-01/msg00651.html
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
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/
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: can't run devenv through sshd
2007-11-20 18:35 can't run devenv through sshd Derek Lei Liu
2007-11-20 18:39 ` Dave Korn
@ 2007-11-20 18:44 ` Dave Korn
2007-11-20 19:21 ` Derek Lei Liu
1 sibling, 1 reply; 6+ messages in thread
From: Dave Korn @ 2007-11-20 18:44 UTC (permalink / raw)
To: cygwin
On 20 November 2007 18:26, Derek Lei Liu wrote:
> I checked the archive and did checking "whoami", it gives back correct
> user name which is the one i used to ssh in. right now, i am out of
> ideas.
Ah, but see also
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=389029&SiteID=1
It seems that only ssh'ing in as a local user by password authentication
will work for the moment. You could perhaps have a try at the suggested
hotfix:
http://support.microsoft.com/kb/920770
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
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/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: can't run devenv through sshd
2007-11-20 18:44 ` Dave Korn
@ 2007-11-20 19:21 ` Derek Lei Liu
2007-11-20 20:49 ` Dave Korn
0 siblings, 1 reply; 6+ messages in thread
From: Derek Lei Liu @ 2007-11-20 19:21 UTC (permalink / raw)
To: cygwin
Thanks Dave for instant response. I suspect my problem is different
from what you suggested. Forgot to mention the symptom of my problem.
The devenv.com actually got invoked and just hang there forever. there
is no error message spilled out. Not sure that make any difference.
Any idea or should i just go ahead to try local user with password
authentication enabled?
thanks
Derek
On Nov 20, 2007 10:35 AM, Dave Korn <dave.korn@artimi.com> wrote:
> On 20 November 2007 18:26, Derek Lei Liu wrote:
>
> > I checked the archive and did checking "whoami", it gives back correct
> > user name which is the one i used to ssh in. right now, i am out of
> > ideas.
>
> Ah, but see also
>
> http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=389029&SiteID=1
>
> It seems that only ssh'ing in as a local user by password authentication
> will work for the moment. You could perhaps have a try at the suggested
> hotfix:
>
> http://support.microsoft.com/kb/920770
>
>
> cheers,
> DaveK
> --
> Can't think of a witty .sigline today....
>
>
> --
> 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/
>
>
--
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/
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: can't run devenv through sshd
2007-11-20 19:21 ` Derek Lei Liu
@ 2007-11-20 20:49 ` Dave Korn
2007-11-25 23:04 ` Derek Lei Liu
0 siblings, 1 reply; 6+ messages in thread
From: Dave Korn @ 2007-11-20 20:49 UTC (permalink / raw)
To: cygwin
On 20 November 2007 19:05, Derek Lei Liu wrote:
> Thanks Dave for instant response. I suspect my problem is different
> from what you suggested. Forgot to mention the symptom of my problem.
> The devenv.com actually got invoked and just hang there forever. there
> is no error message spilled out. Not sure that make any difference.
Well, that does sound like a different problem, everyone else was getting an
error message at the least.
> Any idea or should i just go ahead to try local user with password
> authentication enabled?
It can't hurt to try, but hang on; are we talking about the devenv gui?
Does your sshd service entry have the "Allow service to interact with the
desktop" checkbox enabled in the services control manager?
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
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/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: can't run devenv through sshd
2007-11-20 20:49 ` Dave Korn
@ 2007-11-25 23:04 ` Derek Lei Liu
0 siblings, 0 replies; 6+ messages in thread
From: Derek Lei Liu @ 2007-11-25 23:04 UTC (permalink / raw)
To: cygwin
Thanks Dave. I tried the same thing on XP and it works. So it's
definitely something wrong with 2003 server, either with 2003 server
itself or SSHD configuration. I am not trying to get GUI working. The
idea is basically to be able to run remote build on windows (devenv)
from Linux box and through SSH. I would expect something like "ssh
derek@mywindows-pc do-win-build.sh" to work on windows 2003 server.
I checked the opensshd service on my 2003 server. it seems the Log On
property needs some clarification here. I set it to This account:
./sshd_server. the sshd_server is a windows local account. While i
tried to change this setting to Local User. Regardless what i put in
there, the service won't start. Just wonder what should be the right
setting for Log On.
thanks
Derek
On Nov 20, 2007 11:23 AM, Dave Korn <no.spam@my.mailbox.invalid> wrote:
> On 20 November 2007 19:05, Derek Lei Liu wrote:
>
> > Thanks Dave for instant response. I suspect my problem is different
> > from what you suggested. Forgot to mention the symptom of my problem.
> > The devenv.com actually got invoked and just hang there forever. there
> > is no error message spilled out. Not sure that make any difference.
>
> Well, that does sound like a different problem, everyone else was getting an
> error message at the least.
>
> > Any idea or should i just go ahead to try local user with password
> > authentication enabled?
>
> It can't hurt to try, but hang on; are we talking about the devenv gui?
> Does your sshd service entry have the "Allow service to interact with the
> desktop" checkbox enabled in the services control manager?
>
>
>
> cheers,
> DaveK
> --
> Can't think of a witty .sigline today....
>
>
> --
> 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/
>
>
--
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/
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-11-25 20:25 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-20 18:35 can't run devenv through sshd Derek Lei Liu
2007-11-20 18:39 ` Dave Korn
2007-11-20 18:44 ` Dave Korn
2007-11-20 19:21 ` Derek Lei Liu
2007-11-20 20:49 ` Dave Korn
2007-11-25 23:04 ` Derek Lei Liu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).