You are not logged in.
I installed Arch on a new SSD on my dekstop PC. The network is up and sshd is enabled and it boots to the login prompt on my TTY. For unknown reasons, I can not connect via ssh from my other PC unless I physically log in to the TTY on the new base Arch install. Why?
MS1@laptop $ ssh disco
ssh: connect to host disco port 22: Connection refused
----- wait 5 min ------
MS1@laptop $ ssh disco
ssh: connect to host disco port 22: Connection refused
----- now I log in to the machine on the TTY --------
MS1@laptop $ ssh disco
Last login: Thu Oct 25 16:34:17 2018 from 192.168.1.147
MS1@disco $Last edited by MS1 (2018-10-28 09:57:19)
Offline
Install and enable haveged on the desktop (SSH server).
Offline
> Why
Jasonwryan's idea helps if the problem is that you have too less entropy because too less things happened on the computer before (i.e. during boot).
Last edited by RoundCube (2018-10-25 21:04:46)
Offline
https://wiki.archlinux.org/index.php/Ha … lternative
EDIT: shouldn't there be some errors in `journalctl -u sshd` relating to low entropy if that is true?
Last edited by graysky (2018-10-25 21:31:22)
Offline
Sorry, wasn't paying attention. My apologies for extraneous content. Have you tried using a -J to login using a different username?
If that does not work, the Wiki page for SSH section 3.1 gives you a good place to start looking when trying to edit the config files. I had to explicitly allow my user access to the ssh daemon to be able to login even after enabling the sshd.service systemd files.
Last edited by AlienofOne (2018-10-26 01:50:05)
Offline
...how old is your PC? Most motherboards made in the past decade or so should have an onboard TPM.
Offline
Running haveged fixes the problem but why did it come up all of a sudden? This is a Xeon processor.
dmesg | grep -i tpm
[ 3.595737] tpm_tis 00:03: 1.2 TPM (device-id 0xB, rev-id 16)
[ 3.599899] tpm tpm0: [Hardware Error]: Adjusting reported timeouts: A 750->750000us B 2000->2000000us C 750->750000us D 750->750000us
[ 3.750026] tpm tpm0: Operation Timed out
[ 3.750336] tpm tpm0: A TPM error (83) occurred continue selftest
[ 3.750732] tpm tpm0: TPM self test failed
[ 3.761058] tpm_inf_pnp 00:03: Found TPM with ID IFX0102
[ 3.761096] tpm_inf_pnp 00:03: TPM found: config base 0x4e, data base 0x4700, chip version 0x000b, vendor id 0x15d1 (Infineon), product id 0x000b (SLB 9635 TT 1.2)I will make a new thread.
Last edited by MS1 (2018-10-27 16:18:51)
Offline
Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.
Offline