After following the usual steps (a search for ssh login no password will give plenty of tutorials) I was still unable to login to my second server (which runs ubuntu 22.04).
At first I thought the problem was that RSA was deprecated. So I switched to ecdsa
ssh-keygen -t ecdsa
That did not allow me to login either.
However, when I debugged the login in with:
ssh email@example.com -vv
I noticed that ssh was looking for
~/.ssh for the private key. So I copied the file with the private key to
id_ecdsa and was able to login subsequently.
I was under the impression that the file with the private key on the local computer could have any name. Perhaps that assumption was wrong.
I don’t know if this works for all modules.
I have a problem with my ethernet card module
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
It seems to stall or crash. So I do (as root)
rmmod r8169 modprobe r8169
And subsequently restart my network. In Slackware that is (as root)
Network up again. For now. What’s wrong with the driver/module? I tried a more recent one, same problem. Sigh.
It seems I need this in
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ] && [ -x /usr/bin/dbus-run-session ]; then exec dbus-run-session -- $0 "$@" fi