Unable to connect to target

Hi,

I seem to be unable to connect to the local target with ‘kex_exchange_identification: Connection closed by remote host’

~ boundary authenticate password -auth-method-id=ampw_1234567890 -login-name=admin -password=password

Authentication information:
Account ID: apw_jLqS61SfMQ
Auth Method ID: ampw_1234567890
Expiration Time: Thu, 22 Oct 2020 12:10:44 BST
Token: at_6JdZtvre14_s13dNviKUmBG5PSuiGy4wy1NJLkGbTpHYtsD6vve5ZGEo2fvrHSd5H7LkFya6DwjmQ2Box1gQVx4V7LB5edPfwv4GNdfbs79mAgeWBs2CwTDxrWCnPWtmuL1FN45VWmPhtAxZA9jeibePjfu
User ID: u_1234567890

➜ ~ boundary targets read -id ttcp_1234567890

Target information:
Created Time: Thu, 15 Oct 2020 11:32:51 BST
Description: Provides an initial target in Boundary
ID: ttcp_1234567890
Name: Generated target
Session Connection Limit: 1
Session Max Seconds: 28800
Type: tcp
Updated Time: Thu, 15 Oct 2020 11:32:51 BST
Version: 1

Scope:
ID: p_1234567890
Name: Generated project scope
Parent Scope ID: o_1234567890
Type: project

Host Sets:
Host Catalog ID: hcst_1234567890
ID: hsst_1234567890

Attributes:
Default Port: 22


The above is for context

~ boundary connect ssh -target-id ttcp_1234567890
kex_exchange_identification: Connection closed by remote host

This is a ssh connection to localhost, so it is related to your ssh configuration.

2 Likes

okay thanks, will have a check

Yes its to do with my mac settings and not having ‘Remote Login’ enabled under ‘System Preferences’ --> Sharing

3 Likes