LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   can i mount a filesystem using ssh? (https://www.linuxquestions.org/questions/linux-networking-3/can-i-mount-a-filesystem-using-ssh-145053/)

dave_blob 02-11-2004 09:24 PM

can i mount a filesystem using ssh?
 
my uni runs a unix server that i can ssh to.
Is there anyway i can mount my uni filesystem - using ssh i guess - to my local lnux box?
end result, my uni files are mounted to say, /mnt/uni ?

ugenn 02-11-2004 10:11 PM

ssh is merely an encrypted tunnel between 2 end-points. it doesn't know anything about mounts. What you need is NFS. Your uni's server admin needs to enable the connection from your remote host before you can mount the network disk (chances are they don't).

dave_blob 02-11-2004 10:33 PM

ah nuts.
i just thought it would be possible because WinSCP can see and transfer files to my uni server. i thought maybe i could cut out the middleman on linux.

Shade 02-11-2004 11:58 PM

You can use scp.... provided the host is set up to allow it.

Format is like this:

copy from remote to local
scp <ip or hostname>:/path/to/foo /path/to/bar

from local to remote
scp /path/to/foo <ip or hostname>:/path/to/bar

I'm guessing WinSCP is just a gui-fied windows front end to good ol' scp...

--SHade


All times are GMT -5. The time now is 12:08 AM.