The list of paths to trusted SSH key files controls the public / private key authentication that SFTP allows for. If set, we will assume the user will attempt SSH public key based authentication, if no password is supplied at login time. In real-life use case the client end generates the key pair, supplies server side
the public key that the server admin will apply on their user account. Server side has no knowledge of the matching private key, that would be the end client's own secret.
Allowed values for the input field:
#
. a single or multiple file paths pointing to individual public key files, like /c:/sshkeys/test.pub. This option is to be used when setting up individual user accounts with SSH public keys. a directory path pointing to a directory that contains the user public keys, the key files inside must have their filename stem part matching the user name, we then load these automatically. This option is to be used when assigning the setting by inheritance on the default user, local group template
accounts or LDAP plugin Role template or any integration plugin's global template. For example, a domain user named johndoe@intranet.local will associate with a key file named johndoe.pub (part of user name and key file name stem matches from left to right starting with the
leftmost character)
. the content of the public key file itself
Supported key file type and format:
#
The key file container must be plain text with PEM encoded SSH public key in SSHv2, openssh.com or putty format. The older SSHv1 format is not supported.Supported SSH key algorithms in CrushFTP v10 are SSH2-RSA, DSA (obsolete), ECDSA and ED25519. The older SSH1 RSA algorithm is not supported.
Generating the key pair:#
OS X or LinuxGenerate a key pair by issuing this command in a Terminal window:
ssh-keygen -t dsa
Take the resulting public key and point CrushFTP to it as described above.
Windows
If you are unsure of how to generate a public / private key pair for your SFTP client, you may want to take a look at puttygen for Windows to generate the keys. CrushFTP can use the public key file you generate.
Add new attachment
List of attachments
Kind | Attachment Name | Size | Version | Date Modified | Author | Change note |
---|---|---|---|---|---|---|
png |
ssh_keys.png | 20.1 kB | 2 | 05-Dec-2023 05:32 | Ben Spink | |
jpg |
ssh_keys1.jpg | 143.3 kB | 1 | 05-Dec-2023 05:32 | Ada Csaba | |
jpg |
ssh_keys2.jpg | 178.0 kB | 1 | 05-Dec-2023 05:32 | Ada Csaba |