ssh-action
ssh-action copied to clipboard
Action version v0.1.5 causing multiple `err:` outputs
After the recent release of v0.1.5
, I checked my logs and notice the output after script is returning loads of unnecessary err:
outs.
v0.1.5
:
======CMD======
pwd
======END======
out: /home/***
err:
err:
err:
err:
out:
out:
err:
err:
err:
out:
err:
out:
err:
err:
out:
err:
out:
err:
err:
err:
err:
err:
out:
err:
out:
err:
err:
out:
err:
out:
err:
out:
err:
err:
err:
out:
err:
err:
err:
out:
out:
out:
err:
err:
out:
out:
out:
err:
out:
err:
out:
err:
err:
out:
out:
out:
out:
err:
err:
err:
err:
err:
out:
out:
out:
err:
out:
err:
err:
err:
err:
err:
err:
err:
err:
err:
==============================================
✅ Successfully executed commands to all host.
==============================================
I tested using v0.1.4
and it returns the correct output:
======CMD======
pwd
======END======
out: /home/***
==============================================
✅ Successfully executed commands to all host.
==============================================
Same here.
Same here.
Thank you for this one. Very useful tool to have around.
Same issue here, with multiple commands (PHP and Node scripts).
If I compare the output of v0.1.5
to v0.1.4
:
- Everything executes and works as planned, including outputs.
- I get a long list (70 lines or so) of
err
andout
statements - After the list, I get the
✅ Successfully executed commands to all host.
lines
This is quite puzzling because, as far as I can see, v0.1.5
is a docs related upgrade. The only other recent change is apparently a drone-ssh
update
Seems like it was introduced by drone-ssh
:
https://github.com/appleboy/drone-ssh/issues/192
Pinning the version to dce9d565de8d876c11d93fa4fe677c0285a66d78 may help for now:
uses: appleboy/ssh-action@dce9d565de8d876c11d93fa4fe677c0285a66d78
Same thing. Sometimes it's hundreds of blank err: and out: lines for no apparent reason
Same issue here, using appleboy/[email protected]
Everything works as expected but just a veeeeryy long output...
4746 out:
4747 out:
4748 err:
4749 out:
4750 err:
4751 out:
4752 ==============================================
4753 ✅ Successfully executed commands to all host.
4754 ==============================================
Same here
@appleboy apart from using a specific old version as per https://github.com/appleboy/ssh-action/issues/174#issuecomment-1214552175 suggestion above.. is there any proper fix planned? :(
Experiencing the same problem on the laravel project
dce9d565de8d876c11d93fa4fe677c0285a66d78
When I switch from master
to this commit I get authentication errors:
2022/11/16 19:30:56 ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
I will take it. I think something wrong with https://github.com/appleboy/ssh-action/commit/a8d82ec39b75784f1bcd3d44e6c8261b710311d7 commits
Please try the v0.1.6 version. https://github.com/appleboy/ssh-action/releases/tag/v0.1.6
Please try the v0.1.6 version. https://github.com/appleboy/ssh-action/releases/tag/v0.1.6