mirror of
https://github.com/clearml/dropbear
synced 2025-02-12 07:25:30 +00:00
Debug pytest password auth failing
This commit is contained in:
parent
742e296115
commit
27ffea3223
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
@ -117,6 +117,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
mkdir -p ~/.ssh
|
mkdir -p ~/.ssh
|
||||||
~/inst/bin/dropbearkey -t ecdsa -f ~/.ssh/id_dropbear | grep ^ecdsa > ~/.ssh/authorized_keys
|
~/inst/bin/dropbearkey -t ecdsa -f ~/.ssh/id_dropbear | grep ^ecdsa > ~/.ssh/authorized_keys
|
||||||
|
find ~/.ssh/authorized_keys -ls
|
||||||
|
|
||||||
# upload config.log if something has failed
|
# upload config.log if something has failed
|
||||||
- name: config.log
|
- name: config.log
|
||||||
|
@ -35,6 +35,10 @@ def dropbear(request):
|
|||||||
# Ready
|
# Ready
|
||||||
yield p
|
yield p
|
||||||
p.terminate()
|
p.terminate()
|
||||||
|
print("Terminated dropbear. Flushing output:")
|
||||||
|
for l in p.stderr:
|
||||||
|
print(l.rstrip())
|
||||||
|
print("Done")
|
||||||
|
|
||||||
def dbclient(request, *args, **kwargs):
|
def dbclient(request, *args, **kwargs):
|
||||||
opt = request.config.option
|
opt = request.config.option
|
||||||
|
Loading…
Reference in New Issue
Block a user