# SSH\_FX\_BAD\_MESSAGE when syncing files with long filename to encrypted sftp storage

**URL:** <https://forum.rclone.org/t/ssh-fx-bad-message-when-syncing-files-with-long-filename-to-encrypted-sftp-storage/46228>\
**Category:** Suspected Bug\
**Created:** [May 30, 2024, 12:53pm UTC](https://forum.rclone.org/t/ssh-fx-bad-message-when-syncing-files-with-long-filename-to-encrypted-sftp-storage/46228 "2024-05-30T12:53:37Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [May 30, 2024, 1:14pm UTC](https://forum.rclone.org/t/ssh-fx-bad-message-when-syncing-files-with-long-filename-to-encrypted-sftp-storage/46228/2 "2024-05-30T13:14:47Z")

</div>

welcome to the forum,

> [@Jaywalker](#):
>
> long filenames

that is a known issue with crypt remotes.

might test using another encoding.  
[An experimental advanced option filename\_encoding is now provided to address this problem to a certain degree](https://rclone.org/crypt/#file-name-encryption-modes)

might test obfuscation, but based on forum posts, not guaranteed to work in all cases.

---

_[View the full topic](https://forum.rclone.org/t/ssh-fx-bad-message-when-syncing-files-with-long-filename-to-encrypted-sftp-storage/46228)._
