bash: line 51: cannot create temp file for here-document: No space left on device
Disk is likely to be full on remote machine.
SSH connects to the SSH daemon on the remote machine which invokes the users login shell (in this case Bash) and then SSH streams the script to be run on the remote machine by the login shell. The login shell might need to create temporary files to interpret and handle the script.
If the disk is full the shell cannot create temporary files at all.
SSH into the machine using the
ssh module and delete old log files, etc
to free up some space.
space -m ssh /ssh/ -- 184.108.40.206,220.127.116.11 user1,user2 id_rsa.machine1,id_rsa.machine2
Previous: ContributingEdit this page