FX Posted November 8, 2007 Report Share Posted November 8, 2007 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. Quote Link to comment Share on other sites More sharing options...
scarecrow Posted November 8, 2007 Report Share Posted November 8, 2007 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. Quote Link to comment Share on other sites More sharing options...
FX Posted November 8, 2007 Author Report Share Posted November 8, 2007 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!!!" :D Quote Link to comment Share on other sites More sharing options...
scoonma Posted November 8, 2007 Report Share Posted November 8, 2007 "Im not doing that terminal crap!!!" :D 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 :) Quote Link to comment Share on other sites More sharing options...
scarecrow Posted November 8, 2007 Report Share Posted November 8, 2007 (edited) 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) Edited November 9, 2007 by scarecrow Quote Link to comment Share on other sites More sharing options...
FX Posted November 9, 2007 Author Report Share Posted November 9, 2007 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 Quote Link to comment Share on other sites More sharing options...
scoonma Posted November 9, 2007 Report Share Posted November 9, 2007 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... Quote Link to comment Share on other sites More sharing options...
FX Posted November 9, 2007 Author Report Share Posted November 9, 2007 Nope that don't work either. Quote Link to comment Share on other sites More sharing options...
scoonma Posted November 9, 2007 Report Share Posted November 9, 2007 (edited) Do you have gnomevfs-mount installed? Edit: Seems to be gnome-vfs in Ubuntu... Edited November 9, 2007 by scoonma Quote Link to comment Share on other sites More sharing options...
FX Posted November 9, 2007 Author Report Share Posted November 9, 2007 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. Quote Link to comment Share on other sites More sharing options...
scoonma Posted November 9, 2007 Report Share Posted November 9, 2007 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! Quote Link to comment Share on other sites More sharing options...
scoonma Posted November 9, 2007 Report Share Posted November 9, 2007 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 Subsystem sftp /usr/lib/ssh/sftp-server will likely be importatant, too. Good luck! Quote Link to comment Share on other sites More sharing options...
scarecrow Posted November 9, 2007 Report Share Posted November 9, 2007 (edited) Just use sshfs... everybody knows that the Gnome VFS is far from perfect. 192.168.0.2 Debianbox added at your /etc/hosts file. Then upload there your public key, and sshfs Debianbox:[PUT-HERE-YOUR-REMOTE-DIR] ~/[PUT-HERE/YOUR LOCAL/DIR] It works perfectly, even without X running. Edited November 9, 2007 by scarecrow Quote Link to comment Share on other sites More sharing options...
FX Posted November 9, 2007 Author Report Share Posted November 9, 2007 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. Quote Link to comment Share on other sites More sharing options...
FX Posted November 9, 2007 Author Report Share Posted November 9, 2007 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.