Copying your SSH keys to a new server is usually accomplished by However, on Fedora 40, I encountered the following error after adding my keys. This appears to just be a permissions issue. To fix this, use the following commands.
Tag: ssh
Create a shared SFTP chroot directory for multiple users
These are instructions to create a shared directory amongst two or more users. This will only allow those users access to SFTP, but not the shell. They will also be “jailed” to the directory of your choosing. These examples were done using Ubuntu 22.04 and assume that you are root or using sudo. You are…