title: Jenkins - ERROR: Exception when publishing, exception message [Exec exit status not zero. Status [255]]
body: <p>I am trying to send a file over ssh but i encountered the below error.</p>
  <p><em>SSH: Connecting from host [host]
  SSH: Connecting with configuration [server] ...
  SSH: EXEC: completed after 201 ms
  SSH: Disconnecting configuration [server] ...
  ERROR: Exception when publishing, exception message [Exec exit status not zero. Status [255]]
  Build step 'Send build artifacts over SSH' changed build result to UNSTABLE
  Started calculate disk usage of build
  Finished Calculation of disk usage of build in 0 seconds
  Started calculate disk usage of workspace
  Finished Calculation of disk usage of workspace in 0 seconds
  Finished: UNSTABLE</em></p>