Skip to content

Commit

Permalink
allow openssh to work
Browse files Browse the repository at this point in the history
  • Loading branch information
kmyi committed Jul 26, 2016
1 parent 7df777d commit 591fdb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/usr/bin/rs-run-ssh-cmd
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export HOME="${home_dir}/files"
cd $HOME

if $(echo "${SSH_ORIGINAL_COMMAND}" | grep -q "^\(internal-sftp\|.*/sftp-server\)"); then
[ -x /usr/lib/openssh/sftp-server ] && exec /usr/lib/openssh/sftp-server -R
[ -x /usr/lib/ssh/sftp-server ] && exec /usr/lib/ssh/sftp-server -R
[ -x /usr/libexec/sftp-server ] && exec /usr/libexec/sftp-server -R
[ -x /opt/libexec/sftp-server ] && exec /opt/libexec/sftp-server -R
Expand Down

0 comments on commit 591fdb4

Please sign in to comment.