a helper script for SFTP-only servers