Slow/hanging ssh logins

Ask questions about Arch Linux ARM. Please search before making a new topic.

Re: Slow/hanging ssh logins

Postby keithspg » Mon Feb 15, 2021 11:26 pm

Just set up a new/fresh image and this is still required to get a snappy SSH login. Is this a bug or a feature? Should it be fixed as outlined here from now on?
keithspg
 
Posts: 145
Joined: Mon Feb 23, 2015 4:14 pm

Re: Slow/hanging ssh logins

Postby keithspg » Sat Mar 06, 2021 12:08 pm

this is still not fixed and still behaves differently on aarch64 than on 32 bit arm. For the armv6 and v7, I still need to comment out that line to get snappy logins.
keithspg
 
Posts: 145
Joined: Mon Feb 23, 2015 4:14 pm

Re: Slow/hanging ssh logins

Postby vermamanu8 » Fri Mar 26, 2021 1:20 pm

I further commented out the lines in /etc/pam.d/system-auth : "-auth [success=1 default=ignore] pam_systemd_home.so" and "-account [success=1 default=ignore] pam_systemd_home.so" and also "#-password [success=1 default=ignore] pam_systemd_home.so" vidmate insta save
Last edited by vermamanu8 on Sun Apr 11, 2021 5:37 am, edited 1 time in total.
vermamanu8
 
Posts: 1
Joined: Fri Mar 26, 2021 12:51 pm

Re: Slow/hanging ssh logins

Postby keithspg » Fri Mar 26, 2021 1:38 pm

All I have ever had to do is edit the one line by adding a comment in /etc/pam.d/system-login:

Code: Select all
#%PAM-1.0

auth       required   pam_shells.so
auth       requisite  pam_nologin.so
auth       include    system-auth

account    required   pam_access.so
account    required   pam_nologin.so
account    include    system-auth

password   include    system-auth

session    optional   pam_loginuid.so
session    optional   pam_keyinit.so       force revoke
session    include    system-auth
session    optional   pam_motd.so          motd=/etc/motd
session    optional   pam_mail.so          dir=/var/spool/mail standard quiet
#-session   optional   pam_systemd.so
session    required   pam_env.so           user_readenv=1
keithspg
 
Posts: 145
Joined: Mon Feb 23, 2015 4:14 pm

Previous

Return to User Questions

Who is online

Users browsing this forum: No registered users and 5 guests