Skip to content

sshGate ignores SSH_PORT and SCP_PORT variables #41

@nando2301

Description

@nando2301

I have a target with ssh port 1522then when a try to connect to target it fails because port 22 is not available.

I had set SSH_PORT and SCP_PORT to port 1522 and it fails.

sshGate >  target cancer display conf
SSH_PORT="1522"
SCP_PORT="1522"
sshGate >  target cancer ssh list logins
oracle
root
sshGate >  target cancer ssh test
-  root@cancer  ... KO
     ssh: connect to host cancer port 22: Connection refused

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions