Problem about remote file access

The remote access was normal before, but last week, I want to access the dump file in the remote servers. When I see a single dump file, the Ovito function is great.

but when I want to see the series file by add " .* ", error is represented as “Failed to produce remote directory listing: ‘ls’ command returned exit code 255”.


Any suggestion would be appreciated, thank you.

If you include a “*” in the filename, OVITO lists the contents of the remote directory. This is done by executing the Linux/Unix “ls” command on the remote machine. Perhaps there is a configuration issue on the remote machine (e.g. security restrictions), which prevents successful execution of the “ls” command via ssh.

You should be able to test this yourself by running the following command from the system terminal of your local machine:

ssh WenlierYang@<remotehost> "ls -A -N -U -1 -p --color=never /public/home/WenlierYang/zqw/08_12_2024/pka_2/"

This is the ssh command OVITO uses internally to obtain the directory listing. It should give you back a list of filenames if successful.

Thank you for your reply.

If you were able to solve your problem, please share here how you did it. This will allow us to better help other OVITO users in the future and further improve the software if necessary. Thanks!