[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Generating ssh key pairs



On Mon, Jan 11, 2016 at 01:59:01PM -0500, Steve Matzura wrote:
> In order to use SFTP, I will be needing to generate key pairs for all
> my users, all of whom will log into the same directory structure. It
> seems no one on the system has keys generated, or they're not in what
> I think is the normal place, ~/.ssh - Should I just create this
> directory and use ssh-keygen to put the key files there, naming them
> appropriately for each FTP user?

In general, you want your SFTP users to send you their own
public keys, and you drop them into ~user/.ssh/authorized_keys

That way they can guard their private keys appropriately.

Creating /etc/skel/.ssh/ will make sure that new users get that
directory created for them automatically.

-dsr-


Reply to: