Skip to content

Commit

Permalink
synced_folder: Add directory for SUSE/openSUSE to find sftp-server
Browse files Browse the repository at this point in the history
SUSE/openSUSE distributions traditionally used /usr/lib/ssh as
location for the sftp-server. In an attempt to closer align to
FHS 3.0, the location has been changed to /usr/libexec/ssh
  • Loading branch information
DimStar77 committed Sep 3, 2020
1 parent fa27379 commit cc2757e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/vagrant-sshfs/synced_folder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ def find_executable(name)
ENV['PATH'] += ';C:\cygwin64\usr\sbin'
end
else
ENV['PATH'] += ':/usr/libexec/ssh' # Linux (openSUSE/SUSE Family)
ENV['PATH'] += ':/usr/libexec/openssh' # Linux (Red Hat Family)
ENV['PATH'] += ':/usr/lib/openssh' # Linux (Debian Family)
ENV['PATH'] += ':/usr/lib/ssh' # Linux (Arch Linux Family)
Expand Down

0 comments on commit cc2757e

Please sign in to comment.