HowtoMatrix

Lot of HOWTOs

March 26th, 2008

pam_mount and sshfs with password authentication

Security, by suvi.

pam_mount is “a Pluggable Authentication Module that can mount volumes for a user session”. It is used to automatically mount a network share or volume when a user logs in, and unmount it when the user logs out sshfs is a FUSE filesystem that allows mounting a directory using the SSH sftp subsystem.

pam_mount and sshfs work if SSH keys are set up, but will fail if one tries to use password authentication. In most cases it is better to use SSH keys, but sometimes there may be too many users (or too many computers) for this to be feasible.

If you have tried to use ssh in a script you might have noticed the following:

Read more at Debian Administration

Back Top

Leave a Reply

Your email address will not be published. Required fields are marked *


*

Featuring YD Feedwordpress Content Filter Plugin