modified to allow for sftp-only accounts