First thing is that you're using a wrong find command. Find should end with either -print or -exec option, like this:
Code:
~$ find /path/to/files -mtime +1 -name "filename*" -print
Second, the way you're saving find command output in x is wrong. You should do something like this:
Code:
#!/bin/bash
ssh msc@msc ## You can use a password less login here using rsa keys
find /path/to/files -mtime +1 -name "filename*" -print > /tmp/list.txt
while read -r file; do
mv $file /home/mx/
done < /tmp/list.txt