I thought I'd post this over here..... "copied/pasted" from my post over on the ubuntu board.
I have Ubuntu on my laptop. I click on "Network Servers" and I can see all the other pc's in the house on the network.
I want to move a file from my laptop to my Debian server box, but I can't cause I don't have permission. Before if I remember correctly when I would try to move anything or even look around to the other box I would get a box up asking me my user name and password. Now with 7.10 it doesn't come up. Just lets me cruise around through the files but not move anything.
Thanks ahead of time for the help.
scarecrow
Nov 8 2007, 04:14 PM
Are you trying to use NFS, or Samba?
Anyway, IMHO the fastest, safest and easiest way to exchange files between *nix machines is ssh and the sshfs fuse module.
I have both NFS and Samba. The ssh doesn't bother me but in the words of the wife and kids........ "Im not doing that terminal crap!!!"
scoonma
Nov 8 2007, 10:11 PM
QUOTE (FX @ Nov 8 2007, 10:06 PM)

"Im not doing that terminal crap!!!"

You don't have to - and still can use ssh. I'm doing so for more than a year now. :-)
Don't know how it's done with KDE, but with GNOME very simple: Menu:Locations/Connect to server; select properties and off you go. Much easier than samba
scarecrow
Nov 8 2007, 10:41 PM
Indeed, if you create a keypair at the client and upload the public key to the server then you don't have to use console at all... you can just make a VERY simple script (even a ten-year-old kid can write it, IMO), put it in some PATH (say /bin) and then either recall the script from alt+F2 or create a shorctut to the script at your desktop...
BTW I am using KDE, but once you do some simple hommework you can mount your remote files/directories locally in no time at all, no matter which desktop you are using...
Also notice that aside from sshfs there's also "smbnetfs" which does the same for remote windoze shares... equally easy to use, although I must confess that smbnetfs is usually VERY slow for me- dunno why (maybe bad coding from the FUSE module maker)
Couldn't find "ssh://joe@192.168.0.102/joe" Thats from the gui using the Connect to server from the menu.
But when I type "ssh joe@192.168.0.102 in a terminal it will ask for my password and it works fine
scoonma
Nov 9 2007, 01:41 AM
Hm, I'm not sure wether GNOME/Mandriva 2008 and GNOME/Ubuntu are that different, but probably you're making it too complex. Within the mask presented here I'd enter:
Type of service: ssh
Server: 192.168.0.2
Port: (leave empty)
Folder: joe
User: joe
Connection name: My pretty server
I didn't even install sshfs-fuse and it works flawlessly...
Nope that don't work either.
scoonma
Nov 9 2007, 02:09 AM
Do you have gnomevfs-mount installed?
Edit: Seems to be gnome-vfs in Ubuntu...
I don't think I've ever had this problem before. Looks as though I might be off to the next distro which sucks cause I kind of have this setup the way I want it.
scoonma
Nov 9 2007, 03:49 AM
This is - errr - interesting: For testing purpose I unmounted the device pointing to the network resource on my GNOME desktop. The result: When trying to reenable the connection, the same type of error is displayed here as in your case. Aaargh!
scoonma
Nov 9 2007, 04:14 AM
Okay, got it working again. :-) The trick - at least here is - to explicitely pass the full user dir. This would probably be /home/joe at yours.
I also took a glance at the /etc/ssh/sshd_config file on my server. The line
CODE
Subsystem sftp /usr/lib/ssh/sftp-server
will likely be importatant, too.
Good luck!
scarecrow
Nov 9 2007, 06:02 AM
Just use sshfs... everybody knows that the Gnome VFS is far from perfect.
CODE
192.168.0.2 Debianbox
added at your /etc/hosts file. Then upload there your public key, and
CODE
sshfs Debianbox:[PUT-HERE-YOUR-REMOTE-DIR] ~/[PUT-HERE/YOUR LOCAL/DIR]
It works perfectly, even without X running.
QUOTE
Okay, got it working again. :-) The trick - at least here is - to explicitely pass the full user dir. This would probably be /home/joe at yours.
Ok that has me a little lost.
Well got it to work. All I did was go to 'places' 'connect to server' choosed ssh and just put in the ip addy of the server nothing else. No name of user or password, anything. That kind of makes me feel uncomfortable. Now to get it so it will load at startup. lol
scoonma
Nov 9 2007, 06:55 PM
Nice to hear it works! :-)
You could restrict connections to your server using /etc/hosts.deny on that machine. Description and syntax are here:
http://linux.about.com/od/commands/l/blcmdl5_hostsde.htm
scarecrow
Nov 9 2007, 08:58 PM
Before getting too happy, checkout if you can follow symlinks on your mount.
Thats the point though, to me it is not right.
When I click on network servers I should get a browser box up with all the pc's on my network. When I click on one of them I should get asked user name and then password. It doesn't do that. I just lets me in to browse where ever I want, BUT when I want to change or do anything on that pc I get permission denied. Thats not right. I shouldn't have to go through 'connect to server' and then choose ssh to get a gui.
Edit: Can't connect to the server which is running Debian from the XP box at all. UGH!!!!! lol
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.