Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wolfssh: publickey auth doesn't work #4820

Closed
bagder opened this issue Jan 15, 2020 · 5 comments
Closed

wolfssh: publickey auth doesn't work #4820

bagder opened this issue Jan 15, 2020 · 5 comments

Comments

@bagder
Copy link
Member

bagder commented Jan 15, 2020

I did this

Run test 582 in a wolfssh build. It fails.

I expected the following

The test should run fine.

curl/libcurl version

git master

@cvengler
Copy link
Contributor

On master I get with this config

LD_LIBRARY_PATH=/usr/local/lib ./configure CC=/usr/lib/ccache/clang CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib --enable-debug --disable-shared -without-ssl --with-wolfssl --with-wolfssh

These fails: TESTFAIL: These test cases failed: 165 962 963 964 965 966 967 1013 1448 2046 2047
Executing this specific test gives me

cannot find sshd
RUN: failed to start the SSH server
test 0582 SKIPPED: failed starting SSH server

which is not a failure

@cvengler
Copy link
Contributor

Turns I need an ssh server installed....
Now I can reproduce

@bagder
Copy link
Member Author

bagder commented Apr 17, 2020

wolfSSH has subsequently fixed their end and now provide the necessary APIs to allow us to fix this. It will take a little reading up.

@cvengler
Copy link
Contributor

wolfSSH has subsequently fixed their end and now provide the necessary APIs to allow us to fix this. It will take a little reading up.

It already works fine with the wolfSSH demo server found in wolfSSH/examples/echoserver/echoserver

Running src/curl -k sftp://localhost:22222 -u jill:upthehill works fine

@cvengler
Copy link
Contributor

Nevermind, this is not pubkey auth...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants