No worries, and sorry just checking. Just a bit confused as to why it has an authentication error, I would expect it to give a different error if it had a connection issue.
Well, i am actually getting âaccess deniedâ to be precise, and i just noticed that there is this option â#PermitRootLogin prohibit-passwordâ in the same file i enabled it but itâs the same still access denied, any other ideas/hints?
It looks like there is a problem with ssh keys or something, i just tried from another haiku box, and the result is the same.
The authenticity of host â192.168.1.4 (192.168.1.4)â canât be established.
ECDSA key fingerprint is SHA256:f1sShEL5GmdmtbkqOpLNCWg8yLvYFxzbxBNybkEmgZU.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added â192.168.1.4â (ECDSA) to the list of known hosts.
user@192.168.1.4âs password:
Permission denied, please try again.
user@192.168.1.4âs password:
Permission denied, please try again.
user@192.168.1.4âs password:
I got a similair error when i tried from the windows box.
If you want to authentify by password you need âPermitRootLogin yesâ (or true, donât remember) in sshd_config. Otherwise, ârootâ login (remember in Haiku, the default user uis root) is allowed only by ssh keys, which you need to set up (id_rsa and id_rsa.pub files).
This will allow you to login with root but prevent you from using a password (only key exchange).
You need " PermitRootLogin yes" enabled. Try enabling that then ssh from another haiku box to check basic ssh connectivity.
I added the 2 lines you mentioned for both haiku machines but i keep getting âaccess deniedâ in both ways.
The very first time i tried i noticed this sentence
"The authenticity of host â192.168.1.4 (192.168.1.4)â canât be established",
but the times thereafter i just get the âpermission deniedâ msg, what can cause such a sentence?
Can you pastebin your sshd_config file?
permission denied could be almost anything!
âThe authenticity of host â192.168.1.4 (192.168.1.4)â canât be establishedâ,
This is expected the first time you connect. Your ssh cannot be sure you are really connecting to the machine you think, because it has no way to identify it. After the first connection, it will store a âfingerprintâ (in config/settings/ssh/known_hosts), so the next time, it can check that you are connecting to the same machine.
The âpermission deniedâ could simply be the wrong user name. What is the exact command line you use? You may need to include the user name:
ssh -l user 192.168.1.4
Sorry for the late reply, real life thing.
What iâve done so far are the following steps:
I ddâed to usb stick a gcc2h image of the same hrev as mine ansd tested with it thinking it could be a bug thatâs effeting only the x86 builds, but the result is the same.
then i updated my system to the latest as of today, again no go.
Then i uninstalled openssh and built a fresh one from haikuports and deleted the /setting/ssh folder to start from a clean slate so to speak, and you guessed it, no joy.
So now iâm out of ideas.
BTW, the user name and passwd work just fine when used with ftp without ssh. And just in case iâm pasting here my sshd_config.
What a mess, sorry guys how do i paste the file in this forum?
Just use https://pastebin.com/ and paste the link here. Iâm really not sure what could be going wrong because it was very straightforward here once Iâd figured out the right config settings. The config should help!
Here is my sshd_config
Whatâs the latest with SMB file sharing? I havenât tried Samba on Haiku yet though I use to use it on BeOS WAY back in the day.
The config looks fine I think. Have you set a non-empty password on haiku? If so then I am stumped, sorry
What do you mean? , as i said my user & passwd work fine with ftp, so iâm stumped too.
Samba doesnât seem to do anything, the version thatâs currently in the repo is broken, i built a new version samba-4.6.3 i get the following error message when i run smbstatus:
âmkdir failed on directory /packages/samba-4.6.3-1/.self/var/lock/samba: No such file or directory
messaging_init failedâ
I donât know how to fix this one.
Maybe so:
mkdir -p /var/lock/samba
I tiried that i still get the other msg
âmessaging_init failedâ
BTW how do you paste an external text in this forum? i see you get it nicely formatted