Thanks for taking the time to report this problem. It is actually not a bug but rather normal behaviour. The trouble you are in is that special characters need to be "escaped". This are not only brackets, but also white spaces like " ". So, if you want to transfer a file try this:
file name "test[ ].txt" $ scp SERVER:test\\\[\\\ \\\].txt DESTINATION If you want a comformatable way, try installing a shell like "zsh" and configure auto completion as this enables you to handle this in a very comfortable way. Feel free to ask in Launchpad Answers for this. Best. ** Changed in: openssh (Ubuntu) Status: New => Invalid -- sftp cannot get filenames with "[" and "]" whith space between https://bugs.launchpad.net/bugs/267980 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs