Guide Servers + Cloud Computing LAMP, WAMP, Linux Servers, Embedded DietPi - Guide for Setup of features Setup SSH with OpenSSH to allow SSH Keyfiles Updated January 27 2025
Create the keyfiles using this method:
https://helpfultechnotes.com/guide/251

Use WinSCP to install the .ssh keyfiles in the server. Create profile in WinSCP, test and save it. Goto Edit, Advanced, then SSH-->Authentication. Pick the keyfile (converting it from OpenSSH format if needed). Then use Tools button and "Install Public Key Into Server".

Copy to Clipboard nano /etc/ssh/sshd_config.d/dietpi.conf

Change/Edit the lines so that they match this:

Copy to Clipboard PasswordAuthentication no PubkeyAuthentication yes


Then restart the SSH service for this to take effect
Copy to Clipboard systemctl restart ssh




©2024 - Some portions of this website are Copyrighted.
Your IP: 18.218.117.172     Referring URL:
Browser: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Terms and Conditions, Privacy Policy, and Security Policy