We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
At https://github.com/grazzolini/mkinitcpio-tinyssh/blob/master/tinyssh_install#L61, the install script will fail if /etc/tinyssh/root_key is missing. However, later in the script:
/etc/tinyssh/root_key
cat /etc/tinyssh/root_key > "${BUILDROOT}"/root/.ssh/authorized_keys
Would it make sense to also just check if /root/.ssh/authorized_keys already exists and then skip that copy step?
/root/.ssh/authorized_keys
The text was updated successfully, but these errors were encountered:
This isn't /root/.ssh/authorized_keys but rather the respective path in the built image that's put on the /boot partition.
Hence, it really doesn't make sense to use the actual authorized root key.
Sorry, something went wrong.
No branches or pull requests
At https://github.com/grazzolini/mkinitcpio-tinyssh/blob/master/tinyssh_install#L61, the install script will fail if
/etc/tinyssh/root_key
is missing. However, later in the script:Would it make sense to also just check if
/root/.ssh/authorized_keys
already exists and then skip that copy step?The text was updated successfully, but these errors were encountered: