loafoe / terraform-provider-ssh

Copy files and run commands remotely via SSH, with bastion and proxy support
https://registry.terraform.io/providers/loafoe/ssh/latest
MIT License
49 stars 17 forks source link

redhat7.x #33

Closed mackill54 closed 1 year ago

mackill54 commented 2 years ago

Erorr with RedHat 7.x

return error copying files to remote: Process exited with status 141

with Redhat 8.x everything is ok

arbourd commented 2 years ago

Sounds like something with the SSH agent, and not this provider.

mackill54 commented 2 years ago

No, problem was enabled tlog on rhel 7.x, the same configuration with tlog for rhel 8.x is ok

tuxpeople commented 2 years ago

Could also be a permission error... I had such errors as well. Try this:

  1. Login with the same user to the RHEL7 machine
  2. use touch to create a file as this user with the same path and filename as the provider would do

Check the error.

loafoe commented 2 years ago

@mackill54 if this is still relevant, can you please try it with version 2.3.0 and debugging enabled? This should get us some more details, thx!

mackill54 commented 2 years ago

I will try new version, thx!