You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thinking out loud here, but it would be cool if you could specify an SSH public key when you generate your own custom image, and have SSH passwords disabled by default and have SSH configured so you can only login with that public key
I will take a deeper look into this, bc in our test environment we never suffer this slowness, give my a few days to learn more about this and do further testing.
I noticed that SSH logins are excruciatingly slow with this Ubuntu server image.
I did some troubleshooting by passing the -vv flag to ssh to see what it was getting hung up on, and it was getting stuck on "pledge: network".
This is caused by an optional pluggable authentication module (PAM).
https://serverfault.com/a/998761
Commenting out
in /etc/pam.d/common-session solves this slow SSH login issue. This might be worth adding to the rc.local via a sed command
Sources:
The text was updated successfully, but these errors were encountered: