You can try to run ls command on the remote server with “SSH command” action and “Capture output” option.
ls