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: NFS + Cygwin + SSH + ssh keys => :(


On Thu, 16 Aug 2007, Gerry Steele wrote:

> Hi,
>
> I've been setting up some scripts to help port some stuff we do to
> windows.
>
> To make it work we need to integrate with NFS shared stuff, so we used
> the SFU from MS. Which i understand is a repackaged nfs client et al.
> from MKS.
>
> however we couldn't access NFS drives from the ssh shell. I found a
> workaround by running something like:
>
> c:/SFU/common/mount.exe  10.0.2.4:/Volumes/RAID/home X:
>
> in the cygwin bash shell right after login. This works perfectly. and
> could be put in the bashrc.
>
> However, when I logged in via SSH with keys enabled (needed to
> automate the process) and I try to map the drives, the mapping failed
> with an error. The error goes away if you use
>
> ssh ... -o PubkeyAuthentication=no ...
>
> and the drives map perfectly again. I vote that this is the most
> annoying bug i've ever seen. anyone know a workaround?

There isn't one, unless you make the shares public.  See
<http://cygwin.com/faq/faq.using.html#faq.using.shares> for details.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Belief can be manipulated.  Only knowledge is dangerous.  -- Frank Herbert

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