On 02/29/2008, Dang, Robin wrote:
I managed to get the posted solution partially working and it is exactly
what I was looking for. I only cannot get the shell script to run as a
service. The service will attempt to start then fail, but it is really
running. Does "exec" fork a process?
Yes, it
lto:[EMAIL PROTECTED]
Sent: Thursday, February 28, 2008 12:25 PM
To: cygwin@cygwin.com
Subject: Re: Access to Network Drive under ssh
Dang, Robin wrote:
> http://cygwin.com/ml/cygwin/2006-06/msg00820.html
>
> I am having the same problems as in the discussion and would appreciate
> any
Dang, Robin wrote:
http://cygwin.com/ml/cygwin/2006-06/msg00820.html
I am having the same problems as in the discussion and would appreciate
any help to resolve it. After I log into a ssh session, the drives are not
automatically mapped and typing 'net use' gives me unavailable. I can map
them m
http://cygwin.com/ml/cygwin/2006-06/msg00820.html
I am having the same problems as in the discussion and would appreciate any
help to resolve it. After I log into a ssh session, the drives are not
automatically mapped and typing 'net use' gives me unavailable. I can map them
manually, but I nee
Richard Foulk wrote:
Those drive letters just get in the way. Don't use them.
But the whole point of my initial message is that I need
the drive letters because djgpp doesn't understand
network path names.
-Dave
--
Unsubscribe info: http://cygwin.com/ml/#unsubs
On Jun 30 11:38, Corinna Vinschen wrote:
> On Jun 29 22:46, Richard Foulk wrote:
> > I've written my own mount command for Cygwin in Perl. One thing to
> > be aware of is that drive letters aren't necessary with Cygwin.
> >
> > You can't say: `cd \\xyz\c$' with Windows cmd.exe.
> >
> > You *can*
On Jun 29 22:46, Richard Foulk wrote:
> I've written my own mount command for Cygwin in Perl. One thing to
> be aware of is that drive letters aren't necessary with Cygwin.
>
> You can't say: `cd \\xyz\c$' with Windows cmd.exe.
>
> You *can* say things like: `cd //xyz/c\$' in Cygwin. This clean
> David Greene wrote:
> > mwoehlke wrote:
> >> You need to first do:
> >> net use /delete h:
> >>
> >> ...so that you don't get prompted
> >
> > Now I get this, which is what happened before I started
> > sshd as dag. Except I can still cd to //samba-drive/dag:
> >
> > $ net use H: \\samba-drive
On Thu, 29 Jun 2006, David Greene wrote:
> mwoehlke wrote:
>
> > You need to first do:
> > net use /delete h:
> >
> > ...so that you don't get prompted
>
> Now I get this, which is what happened before I started
> sshd as dag. Except I can still cd to //samba-drive/dag:
>
> $ net use H: \\samba-d
mwoehlke wrote:
Are you on a 64-bit Windows by any chance?
Nope.
If not, I won't be able to tell you why 'net' is being brain-dead, other
than "hmm, it does that sometimes; good luck!".
Well, I guess I'll just have to build locally then. That's
a real shame.
David Greene wrote:
mwoehlke wrote:
You need to first do:
net use /delete h:
...so that you don't get prompted
Now I get this, which is what happened before I started
sshd as dag. Except I can still cd to //samba-drive/dag:
$ net use H: \\samba-drive\dag
System error 67 has occurred.
The n
mwoehlke wrote:
You need to first do:
net use /delete h:
...so that you don't get prompted
Now I get this, which is what happened before I started
sshd as dag. Except I can still cd to //samba-drive/dag:
$ net use H: \\samba-drive\dag
System error 67 has occurred.
The network name cannot b
David Greene wrote:
mwoehlke wrote:
Anyway, the way I generally get things... well, closer to working, is
to create a service that calls 'bash -c ', and
have the script issue a bunch of 'net use ' commands and
then exec sshd. That way you don't have to worry about connections
being remembere
mwoehlke wrote:
Anyway, the way I generally get things... well, closer to working, is to
create a service that calls 'bash -c ', and have
the script issue a bunch of 'net use ' commands and then exec
sshd. That way you don't have to worry about connections being
remembered, because they will
David Greene wrote:
I tried to do a manual mount with no success:
$ net use H: \\samba-drive\dag
H: has a remembered connection to \\samba-drive\dag. Do you
want to overwrite the remembered connection? (Y/N) [Y]:
No valid response was provided.
The strange thing here is that "net use" didn't ev
I know this subject has come up before but the most detailed
discussion I could find about the problem I'm having is here
http://erdelynet.com/archive/ssh-l/2002-12/0772.html
and this dates from Dec. 2002.
When I start a Cygwin xterm on the local machine, I can see
network drives just fine (these
16 matches
Mail list logo