Skip to content

Rugged::Credentials::SshKey - This transport isn't implemented #299

@joelmoss

Description

@joelmoss

From the latest development branch, the following does not work

require 'rugged'
creds = Rugged::Credentials::SshKey.new(username: 'git', publickey: File.expand_path("~/.ssh/id_rsa.pub"), privatekey: File.expand_path("~/.ssh/id_rsa"))
Rugged::Repository.clone_at 'ssh://github.com/joelmoss/strano.git', 'workspaces/joelmoss/strano', credentials: creds
Rugged::NetworkError: This transport isn't implemented. Sorry

Any ideas why? What am I missing here, as Rugged::Credentials::Plaintext works fine.

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