Authentificate from external server

Hello,

I would like to connect to exernal Boundary server with authentificate command.
It’s not supported at this time ?

Per example :
./boundary.exe authenticate -addr=http://hostname:9200 password -auth-method-id=u_eeeeeee -l
ogin-name=xxxxxxx-password=xxxx

Im use Boundary from one hour, and the documentation not specify this method.

However the good method is to connect to Boundary server with SSH, and use the CLI Boundary to connect to target ?

Connect to Boundary server with SSH => Boundary authenticate => connect to SSH target ?

Thanks for your time

What’s your error output?

The correct command usage is

Usage: boundary authenticate password [options] [args]

So, the -addr should be an option after password. In your case

./boundary.exe authenticate password -addr=http://hostname:9200 -auth-method-id=u_eeeeeee -l
ogin-name=xxxxxxx-password=xxxx

Connect to Boundary server with SSH => Boundary authenticate => connect to SSH target ?

I dont’ think this is the correct method for the “end user”. The authenticate subcommand seems to be for configuring/ administer Boundary.
If you - as an end user - want to connect, you should only have to use boundary connect to connect to the target.

Usage: boundary authenticate [sub command] [options] [args]
This command authenticates the Boundary commandline client using a specified auth method.

Usage: boundary connect [options] [args]
This command performs a target authorization (or consumes an existing authorization token) and launches
a proxied connection.

Could be wrong; just studying the docs.

Correct, -addr should be after the password subcommand.

As @Wolfsrudel pointed out, authenticate is to authenticate to Boundary itself to then run other commands, such as boundary connect which is how you actually connect to a target.