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

Kerla ssh requires password "kerla" #7

Closed
CProgrammer21 opened this issue Oct 26, 2021 · 6 comments
Closed

Kerla ssh requires password "kerla" #7

CProgrammer21 opened this issue Oct 26, 2021 · 6 comments

Comments

@CProgrammer21
Copy link

CProgrammer21 commented Oct 26, 2021

I'm on macOS Big Sur 11.6 and am using macOS's builtin SSH tool to access the Kerla demo. I've added it permanently to a list of known hosts but have to enter the password "kerla" to login.

Suggestion:

Add the password to the README file.

Image:

Screen Shot 2021-10-26 at 8 01 38 PM

@aprosvetova
Copy link

The password is not checked. You can enter any "password", including the empty one.

@nuta
Copy link
Owner

nuta commented Oct 26, 2021

As @aprosvetova pointed out, password is not checked (arbitrary string including empty one is accepted). This is because, it seems SSH protocol does not provide a without authentication mode. I'd remove that if I could by the way.

@CProgrammer21
Copy link
Author

CProgrammer21 commented Oct 27, 2021

Thanks for the reply! However, when I just press enter, the connection is cut. Could just be a "me" issue.

@nuta
Copy link
Owner

nuta commented Oct 27, 2021

I cannot reproduce the issue. If possible, could you share the result of ssh -vvv (note: it will expose your public key) if it's still reproducible?

@CProgrammer21
Copy link
Author

Tried to do it again, and it works as intended. Sorry for the inconvenience!

@nuta
Copy link
Owner

nuta commented Oct 27, 2021

Please don't be sorry at all! Perhaps, you hit a hidden bug in Kerla as it's still not matured. Feel free to reopen if you got the same issue :)

@nuta nuta closed this as completed Oct 27, 2021
nuta added a commit that referenced this issue Nov 4, 2021
It helps where an error is constructed:

[   0.585] [7:curl] syscall: close(ffffffffffffffff, 0, 0, 0, 0, 0)
[   0.585] WARN: close: error: EBADF: This error originates from:
    #1: ffff800000184219  kerla::printk::capture_backtrace()+0x79
    #2: ffff8000001dbb13  kerla::result::Error::new()+0x23
    #3: ffff8000001dc0e7  <kerla::result::Error as c...la::result::Errno>>::from()+0x17
    #4: ffff800000211177  <T as core::convert::Into<U>>::into()+0x17
    #5: ffff8000001fcb55  kerla::fs::opened_file::OpenedFileTable::close()+0xa5
    #6: ffff80000010b124  kerla::syscalls::close::<i...yscallHandler>::sys_close()+0xa4
    #7: ffff80000011bf62  kerla::syscalls::SyscallHandler::do_dispatch()+0x4e62
    #8: ffff8000001168fc  kerla::syscalls::SyscallHandler::dispatch()+0x1ac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants