Skip to content

Commit

Permalink
fix(client): use connect config port when creating the ssh tunnel (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
meeehdi-dev authored Oct 16, 2023
1 parent fc4235f commit 5fe339a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func (c *Client) Start(cfg ConnectConfig) error {
cfg.Server,
ssh.PublicKeys(c.signer),
fmt.Sprintf("%s:%s", cfg.DestinationHost, cfg.DestinationPort),
"1234",
cfg.BindPort,
)
c.tunnel = tunnel

Expand Down

0 comments on commit 5fe339a

Please sign in to comment.