Skip to content

Container deployment always uses port 22 for localhost #360

Open
@pjones

Description

When deploying a local container, the container backend doesn't seem to respect the SSH settings for the local machine or the targetPort setting in the deployment. Regardless of the OpenSSH settings or the deployment settings it always uses port 22.

I don't run SSH on port 22 so obviously this is a problem for me. I should note that other backends work fine with my unusual port selection. My current workaround is to list localhost in my SSH configuration.

I should also note that deploying with --debug shows that targetPort is correctly showing up in the XML file with the correct port number, but deployment is still going to port 22.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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