/bin/df error
by ricdingal from LinuxQuestions.org on (#5M4C9)
anyone can help me this error from the bash script sshpass
sshpass -p <passwordOfDomain> ssh -o StrictHostKeyChecking=no root@192.168.1.31 df -m | grep "VMFS-*"
Traceback (most recent call last):
File "/bin/df", line 101, in <module>
sys.exit(main(sys.argv))
File "/bin/df", line 55, in main
o = eval(output)
File "<string>", line 1
Errors:
^
sshpass -p <passwordOfDomain> ssh -o StrictHostKeyChecking=no root@192.168.1.31 df -m | grep "VMFS-*"
Traceback (most recent call last):
File "/bin/df", line 101, in <module>
sys.exit(main(sys.argv))
File "/bin/df", line 55, in main
o = eval(output)
File "<string>", line 1
Errors:
^