Subj : Re: SSH key login for remote only To : nelgin From : TheCivvie Date : Wed May 07 2025 20:28:52 -=> nelgin wrote to All <=- ne> On Tue, 6 May 2025 18:23:28 +0100 ne> "TheCivvie" (86:553/20) wrote: ne> >> I have a number of Pi on tailscale and ssh in, but the ssh option >> needs a web browser which Android doesn't like. I use JuiceSSH >> >> If there a way to set SSH to allow only public-key login for remote >> access. Anything from local allowing password ne> ne> Not sure I understand why ssh would require a web browser and what ne> public key login has to do with it. ne> Because tailscale requires you to log in via a web browser which is ok if not using Android, not sure how IOS handles it. There is a way to turn it off but I do like the extra security it offers for non local devices. ne> Usually to stop local passwords from being used you would edit ne> /etc/ssh/sshd_config and change PasswordAuthentication to no and ne> restart your sshd. That turns on public-key for all log ins and therefore beats 2 of my scripts that I need to run. Maybe I need to pull the finger out and change them to use public key authenciation TC .... TCOB1: https://binkd.rima.ie telnet: binkd.rima.ie --- BBBS/LiR v4.10 Toy-7 * Origin: TCOB1: https/binkd/telnet binkd.rima.ie (86:553/20) .