I am sceptic.
Problem 1: I want ask as few questions as possible so I am not happy
with adding new questions.
Problem 2: The question asked is misleading. If you want both password
and key authentication, what should you answer to the question: "Do you
want to set up SSH key authentication?"
So can we add this functionality without always asking any questions?
How about, if setup-sshd finds a (valid) pre-existing
authorized_keys it will ask the question:
Found the following ssh keys:
<list of keys>
Would you like to disable password authentication (Y/n)? [Y]
And maybe have an option -k <keysfile> which lets you quietly do the
same with:
setup-sshd -k /media/usb/ssh-keys
I mean, what users remembers the public ssh key to be able to enter it
in vi?
-nc
---
Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org
Help: alpine-devel+help@lists.alpinelinux.org
---