Mount cifs drive over ssh?
Hey guys, firstly I'm sure I'm right in that I can mount a drive over ssh but not 100%, so correct me if im wrong.
I can mount the cifs drive on my LAN with no issues. I also use smscon so I have an ssh server setup on the same computer which i can connect to so thats all good. Now I imagine i should be able to run a command similar to: Code:
ssh remote@MyIpAddress/f$ /mnt/remote Thanks :) |
Re: Mount cifs drive over ssh?
Did you install sshfs?
|
Re: Mount cifs drive over ssh?
Do you mean on the computer with the share or on the N900?
When I was on my search, i found THIS site which mentioned installing sshfs but it was on the machine that you want to use to connect (so im my case the N900) but i cant find sshfs in the repos? |
Re: Mount cifs drive over ssh?
Which of the repos do you have enabled, with testing and devel enabled i get:
Quote:
|
Re: Mount cifs drive over ssh?
Well I've done some messing now and I've got closer.
To answer your question though, I have extras, testing, devel and cssu repos but it seems FAM idoesnt want to play. I couldnt find sshfs in there (even after updating the catalogs) but using apt-get installed it fine. As a seperate issue ive uninstalled fam and reinstalled but im sure its not working properly. Anyway, after installing it I got trying some commands but after entering my password it never did anything so I took a look at the ssh server log and it was denying sftp access. I granted that and now I get: Code:
/home/user # sshfs remote@itsasecret.dyndns.org:/f$ /home/user/MyDocs/KaosExt Many thanks for your help up to now btw :) |
Re: Mount cifs drive over ssh?
Well i am not running that on my network, but those questions come to my mind:
Did you configure your router's firewall to allow access? Did you forward the port to the correct IP of the PC? Did you configure ddclient on the router or on your PC? Did you allow connections to ssh from outside your local network? |
Re: Mount cifs drive over ssh?
What is ddclient?
Apart from that question arn't the other 3 questions simliar? I can access ssh from out my local network, thats fine. I am hitting the right machine as ssh log states that its accepted my connection and password, it just seems like i've got the folder wrong. In the example on that site i linked to it shows to do ip:/home/user...etc but I just dont know what it would call the root of windows so that I can put the right path to that share. |
Re: Mount cifs drive over ssh?
ddclient is the application to configures your dynamical IP by the provider to sync with dyndns.org in linux.
On windows you might use something else, do you? Is the folder's name really f$? That will not be a folder the shell accepts. Quote:
|
Re: Mount cifs drive over ssh?
Edited as it was a duplicate post.
|
Re: Mount cifs drive over ssh?
Quote:
Quote:
|
All times are GMT. The time now is 19:21. |
vBulletin® Version 3.8.8