Boundary
Boundary Desktop
Boundary Desktop is currently an Alpha release still undergoing final testing before its official release. Should you experience any bugs or lack of desired functionality, please let us know so that we can evaluate a fix. You can open an issue at https://github.com/hashicorp/boundary/issues/new/choose. Your help is greatly appreciated!
Boundary Desktop is a standalone application that provides a simple interface for browsing and connecting to targets on your local computer (macOS currently supported). Launch a session in Boundary Desktop and then make a connection using your favorite tooling!
Getting Started
If you're running Boundary for the first time, download the latest binary
and run it in dev
mode locally so you can have a server to run against:
$ boundary dev
Install Boundary Desktop
- Download the latest .dmg installer from our releases page. Alternatively, if you're a homebrew user, you can run
brew install hashicorp-boundary-desktop
- Double-click the downloaded .dmg to run the installer
- Drag and drop Boundary into the applications folder
Run Boundary Desktop
- Open the Boundary Desktop application
- You'll be prompted for the Boundary server origin, this is the URL for the client
to connect to the Boundary API. If you are running a local
dev
mode server, this URL will behttp://localhost:9200
- You can now login to Boundary. We're using a
dev
mode server in this example with the usernameadmin
and the passwordpassword
- After logging in, you should see the targets your user is authorized to connect to. Since
we are using a
dev
mode server we see the default generated target for127.0.0.1:22
Connect!
The rest of this example assumes you're running Boundary in dev
mode.
- Click on
connect
next to the default target. A pop-up window will display the local address of the proxy and the ephemeral port for the session - Navigate to the
Sessions
pane and you'll see this session is inpending
state because we haven't made a connection to it yet (but will!)
The next step assumes you have a SSH server running that the default target will connect to.
- On the CLI,
ssh
to the target using the local ephemeral port created in the previous step
$ ssh -p 49250 127.0.0.1
The authenticity of host '[127.0.0.1]:49250 ([127.0.0.1]:49250)' can't be established.
ECDSA key fingerprint is SHA256:glO05n2iT8Roqak5G63gMKnW8qsE0lxy0MPWcWC7iqg.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '[127.0.0.1]:49250' (ECDSA) to the list of known hosts.
Password:
Last login: Thu Feb 11 17:49:09 2021
$
- Navigate back to the sessions view and you'll see this session is now active
- Click
Cancel
to cancel the session and you'll see the status go tocancelling
briefly, thenterminated
- Navigate back to the CLI and you'll see your SSH session has closed