You know? It does help to know the OS and version for df may have not the same output.. and so understanding what you expect for an output can be tricky:
Not user I understand your request...
Is it a script in which you put ssh then the rest of commands?
I which case I would say once ssh got executed you have also a new shell on remote box that knows nothing of what is following...
You should rewrite your script and remove the ssh part, look at the man pages of ssh for the correct syntax to pass when wanting to pass commands