Skip to content

distribute script SSH key name is hard-coded #1

Description

@mojomex

The distribute script checks for an existing SSH key and generates one if none exists.
The proper way to do this would be to query info from the SSH agent (?) but currently
the key being looked up is id_rsa.pub:

if [ ! -f ~/.ssh/id_rsa.pub ]

This prevents other key types (ECDSA etc.) and keys with custom names from being recognized.
This should be implemented properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions