openHAB 2.5.0~M6-1
Registration in the terminal has taken a long time for a few weeks.
After entering “ssh openhabian @ openhabianpi” it takes 1-3 minutes until the password entry appears. After that everything goes normal.
What can this be?
openHAB 2.5.0~M6-1
Registration in the terminal has taken a long time for a few weeks.
After entering “ssh openhabian @ openhabianpi” it takes 1-3 minutes until the password entry appears. After that everything goes normal.
What can this be?
Only the first attempt to login should take that long as the key file needs to be generated.
All other attempts should be a matter of seconds. If not, you may experience network performance issues.
Until 3 - 4 weeks, the registration process took a few seconds.
I think a bug in network performance is eliminated because, e.g. the login in the config tool takes seconds.
It still does take one or two seconds here (Snapshot #1766), so I am not sure what is going on.
Check the permission and timestamp on the key file host.key
in your userdata folder, maybe it is generated every time you login.
Where can I find the file on the Mac?
I guess in the folder where you have installed it:
The host.key is from 7.11.19
-rw-rw-r-- 1 openhab openhab 1708 Nov 7 17:37 host.key
Okay, looks fine.
Then I have no further ideas.
Could be a dns resolution problem, try to put the IP and not the hostname.
If even with the IP it’s slow …then could be the GSSAPIAuthentication (I’ve experienced similar behavior in the past in linux server)
If it’s the case you could try to edit this file: /etc/ssh/sshd_config and uncomment the GSSAPIAuthentication no
line in the openhab server (after editing you need to restart the ssh service)
It was a DNS resolution problem. It starts immediately with the IP address. Thank you.
it can be so easy…