-
Notifications
You must be signed in to change notification settings - Fork 146
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
tmate-slave on Centos7 ssh_bind_options_set: Unknown ssh option 10 #53
Comments
Looks like it has to do with libssh, somehow. I used to have the error related in issue #52 , and ended up building libssh on my own. Then, starting tmate-slave, I've been having your host key file must be set error:
As far as I understand, that error comes from libssh ( https://git.libssh.org/projects/libssh, ../src/bind.c around row 155 ), and means that none of our keys were passed to ssh. Back to tmate sources, it sounds like the "unknown ssh option 10" is related to https://github.com/tmate-io/tmate-slave/blob/master/tmate-ssh-server.c#L349 I would supposed SSH_BIND_OPTIONS_IMPORT_KEY is that "option 10", which is then 10th element from libssh' include/libssh/server.h As I was looking for conflicting libsshs on my system, I found one:
Now, tmate-slave properly starts:
I would suggest you look at libssh versions available on your system... |
Thanks on debain it works now with your help :-) |
Hi !
I have compiled tmate-slave on centos 7 and i now get this error:
tmate-slave -k /etc/tmate-slave/keys -p 22 -v
<6> (tmate) [ssh_bind_options_set] ssh_bind_options_set: Unknown ssh option 10
<6> (tmate) [ssh_bind_options_set] ssh_bind_options_set: Unknown ssh option 10
<6> (tmate) [ssh_bind_options_set] ssh_bind_options_set: Unknown ssh option 10
<6> (tmate) [ssh_bind_import_keys] ssh_bind_import_keys: ECDSA, DSA, or RSA host key file must be set
<2> (tmate) fatal: Error listening to socket: ECDSA, DSA, or RSA host key file must be set
Please help !
kind regards
kristoferus
The text was updated successfully, but these errors were encountered: