0

How can i configure my volume in ~/.pam_mount.conf.xml so set a different port for ssh?

Currently, default (using port 22) this works:

<volume options="nosuid,nodev" 
    user="yourUsername" 
    mountpoint="~/mountpoint" 
    path="sshfs#%(USER)@server:" fstype="fuse" />

Thanks for hints. G. does help and manpage shows not the right way for me to find out.

Kind regards flobee

Paul Roub
  • 36,322
  • 27
  • 84
  • 93
f b
  • 115
  • 10

1 Answers1

0

I got it. A working local ssh config must exists. Than it works :-)

f b
  • 115
  • 10
  • The file ~/.ssh/config incl. the settings to the correct host, port, ssh key... to connect to. man 5 ssh_config – f b Nov 21 '19 at 19:56