On Thu, 2003-06-12 at 15:58, Brian V Bonini wrote:
> On Thu, 2003-06-12 at 18:03, James Sparenberg wrote:
> >    Went a little further, I tried to use.
> > 
> > shfsmount [EMAIL PROTECTED] /mnt/disk..... didn't work  but I got a
> > permission denied error.
> > 
> > but
> > 
> > shfsmount [EMAIL PROTECTED]/home/james /mnt/disk 
> > 
> > did mount my home directory... could depend on how tight permissions are
> > set up.   shfs does use port 22 normally.  (standard ssh port) I don't
> > get a key setup on the remote end either.  One thing though.. This box
> > is setup specifically with ssh2.  A number of FreeBSD boxes are actually
> > running ssh1 (moded heavily but still ssh1) Is it possible that your is
> > running ssh1 on FreeBSD and your Linux box is ssh2, hence the
> > disconnect?  Sorry but since I can't see/dup your errors it's hard to
> > diagnose.  
> > 
> > Other thoughts.  Is there anything in either your local logs or in the
> > remote systems logs that help?  
> 
> I could not get it to bite either way. But, assuming you saw my other
> email about the mdk and red hat boxes.
> 
> Remote:
> ssh -v
> SSH Version OpenSSH_2.3.0 FreeBSD localisations 20010713, protocol
> versions 1.5/2.0.
> Compiled with SSL (0x0090605f).
> 
> Local:
> # ssh -v
> OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090609f
> 
> I think your onto something with the ssh1/ssh2, I was having trouble
> getting scp to work with an identity file the other day, I wonder if
> that's related.
> 
> I also tried 
> # shfsmount -O "-1" [EMAIL PROTECTED]/home/user /mnt/gfx
> forcing ssh to use Protocol version 1 with no luck.
> 
> THEN..... I tried ANOTHER FreeBSD box in the same data center running a
> BSD and it works fine. I thought maybe it's had different OS or ssh
> versions but it appears it's the same OS version and SSH version.
> 
> Broken Box
> %uname -a
> FreeBSD gfx-design.com 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Wed Aug 28
> 19:41:18 GMT 2002     [EMAIL PROTECTED]:/usr/src/sys/compile/SERVER  i386
> ssh -V
> SSH Version OpenSSH_2.3.0 FreeBSD localisations 20010713, protocol
> versions 1.5/2.0.
> Compiled with SSL (0x0090605f).
> 
> Good Box
> %uname -a
> FreeBSD gfx1-vps-r.gfx-design.com 4.4-RELEASE FreeBSD 4.4-RELEASE #0:
> Wed Aug 28 19:41:18 GMT 2002    
> [EMAIL PROTECTED]:/usr/src/sys/compile/SERVER  i386
> %ssh -V
> SSH Version OpenSSH_2.3.0 FreeBSD localisations 20010713, protocol
> versions 1.5/2.0.
> Compiled with SSL (0x0090605f).
> 
> They look identical to me.


Let me see if I can ping some of my FreeBSD friends and see if this
means anything to them.  One question are the sshd_config files the
same?  

> 
> One more question I've not figured out how to mount the remote FS so
> normal users can access it. Only been able to mount and access as local
> root. Tried running shfsmount as normal user and I get:
> 
> $ shfsmount [EMAIL PROTECTED] /mnt/gfx
> /mnt/gfx: Operation not permitted
> 
> drwxr-xr-x    2 root     root         4096 Jun 12 16:38 gfx


The only way I've found is to make shfsmount and shfsumount run suid
root.  I suppose doing sudo on these would also work.  Also make sure
the user owns /mnt/gfx  I've had better luck if my users create their
mount directory inside their home directory.

Other thing do shfsmount [EMAIL PROTECTED]/home/uname /mnt/somedir   the
/home/uname mounts only the users home dir instead of the full file
system... much nicer.   Note that there is no space between domanin and
the first / .  Works here... don't like the syntax but it works.  
> 
> 
> 
> ______________________________________________________________________
> 
> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to