appleboy / appleboy/drone-ssh

Broken with latest openssh server

Open
#183 2 comments 0 reactions 1 assignee Claimed by @appleboy View on GitHub
help wanted
Dominant language
Go
Stars
314
Forks
79
Avg merge
3m
Merged PRs (30d)
1

Description

I can make this work with a server running

```
$ dpkg --list openssh-server
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-===============-============-=================================================================
ii openssh-server 1:8.0p1-6build1 amd64 secure shell (SSH) server, for secure access from remote machines

```

but not

```
$ dpkg --list openssh-server
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================================================
ii openssh-server 1:8.9p1-3 amd64 secure shell (SSH) server, for secure access from remote machines
```

only difference i can see is the server version. I have authorized_keys configured the same on both servers

ssh -p 2022 giles@failedserver

works fine but

```
docker run --rm -e PLUGIN_HOST=failedmachine -e PLUGIN_USERNAME=giles -e PLUGIN_KEY="$(cat ${HOME}/.ssh/id_rsa)" -e PLUGIN_PORT=2022 -e PLUGIN_SCRIPT=whoami -v $(pwd):$(pwd) -w $(pwd) appleboy/drone-ssh
```

does not

whereas both work using workingserver

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.