Mounting a remote directory with a username/password

If none of the more specific forums is the right place to ask

Mounting a remote directory with a username/password

Postby geoffb » 2005-10-19 18:21

This does not pertain strictly to Debian, but it does involve the underlying GNU/Linux base, so...

I have space on a University of Calgary web server, and am trying to figure out how to mount it.

I have created an empty local directory, /university, and am doing the following from root.

Intuitively, one would try this:

Code: Select all
# mount -t nfs https://webdisk.ucalgary.ca/~user:/ /university


Unfortunately, a username and password are required. Okay, so how about this?

Code: Select all
# mount -t nfs user:password@https://webdisk.ucalgary.ca/~user:/ /university


An error is returned saying that the server user:password could not be found.

So, I tried:

Code: Select all
# mount -t nfs -o username=user,password=password https://webdisk.ucalgary.ca/~user:/ /university


This seems to make it look for the server https, with the mounted directory being everything that follows.

Last, I tried:

Code: Select all
# mount -t nfs -o username=user,password=password,secure webdisk.ucalgary.ca/~user:/ /university


Now, it cannot find that directory (since it's only a secure server). I tried adding the 443 port, but that requires a colon, which screwed everything up again.

Does anyone have any insight/experience into this?
geoffb
 
Posts: 122
Joined: 2005-10-19 18:09
Location: Calgary, AB

Issue resolved

Postby geoffb » 2005-10-20 00:44

The network admin just informed me of davfs2, which does what I'm looking for.
geoffb
 
Posts: 122
Joined: 2005-10-19 18:09
Location: Calgary, AB


Return to General Questions

Who is online

Users browsing this forum: No registered users and 8 guests

fashionable