saltstack-formulas / openssh-formula

Home Page:http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Subsystem sftp location for FreeBSD

sidred opened this issue · comments

commented

The default sftp subsystem is currently set to /usr/lib/openssh/sftp-server . This causes sshfs to fail in FreeBSD, with the default config file. The error is

subsystem request for sftp by user deployer failed, subsystem not found

The location for sftp in FreeBSd is /usr/libexec/sftp-server. Currently I am manually setting the Subsystem in the pillars file

Subsystem: "sftp /usr/libexec/sftp-server"

Can this be added to the map.jinja file as a default?