8000 Using ESCA key to login by --ssh argument · Issue #5100 · wp-cli/wp-cli · GitHub
[go: up one dir, main page]

Skip to content

Using ESCA key to login by --ssh argument #5100

< 78D0 div class="IssueViewer-module__contentAndSidebarWrapper__jEPzb IssueViewer-module__contentAndSidebarWrapper_viewport__psC8n">
@a2d8a4v

Description

@a2d8a4v

It seems that we can not use wp-cli to remote with ECSA key?

If we want to log in some instance like AWS ec2 or instance in Google Computer Engine, It is necessary to create a SSH key first. And then login by command like this:
ssh -i /path/to/key.pem user@ipaddress -p port

but a little pity about using --ssh on wp-cli is that, It seems like we cannot allocate the path to key file for login using.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0