Skip to main content
User guide

Accessing assets

Open SSH terminals and remote desktops in the browser, pick a sign-in account, manage files during a session, use the remote clipboard and key combinations, and connect with an SSH client through the built-in SSH service.

Authorised users can reach assets from the browser, or with an SSH client through the bastion's built-in SSH service. Every session is listed in Session audit and, with recording on, recorded from start to finish.

Who can reach which assets:

  • The super administrator, and administrators whose role includes the asset access permission (资产接入), can reach any asset.
  • Everyone else can only reach assets they are authorised for, within the authorisation's validity period; see Asset authorisation.

Access from the browser

Steps

  1. Ordinary users find the asset under My assets (我的资产); administrators find it under Resources > Assets. You can search by name and filter by protocol or tag.
  2. Select Access (接入).
  3. If the asset has several usable accounts, pick the one to sign in with in the account picker. If only one account is usable, it is used directly.

SSH assets open a web terminal on a new page. RDP, VNC, Telnet and Kubernetes assets open a remote desktop or graphical terminal on a new page.

With the session watermark on, the username and time are overlaid on the page. Sessions disconnect automatically after the idle timeout or the maximum session length. Administrators can also force a disconnect from the online session list.

Web terminal

The terminal page of an SSH session has a Files button (文件) at the top right. It opens the file panel, which reaches the current host's files over SFTP.

The file panel lets you browse folders, upload, download, create folders, rename and delete. Uploads show their progress. Every action is written to the file log.

Commands run in the terminal are written to the command log. If the authorisation has a command filter, blocked commands do not run.

Remote desktop

The remote desktop toolbar:

ButtonDescription
Files (文件)RDP only, when drive mapping is on for the asset. Manages the files on the mapped drive; actions are written to the file log
Clipboard (剪贴板)Text copied in the remote desktop appears here and can be copied to your computer. Paste text below and select Send to remote (发送到远程), then paste it in the remote desktop. Sending is blocked if the authorisation policy forbids pasting
Key combinations (组合键)Sends Ctrl + Alt + Delete, the Windows key, Alt + Tab or Ctrl + Alt + Backspace
Reconnect (重新连接)Opens the session again after a disconnect

The clipboard dialog does not rely on the browser's clipboard permission, so it also works over HTTP.

Online file editing

In the session file panel and in disk spaces, files up to 1 MB can be edited in place. Saving overwrites the original file and converts line endings to LF. Edits are written to the file log.

Online file editing is a Professional and Enterprise feature and is included in the trial. Without a licence that covers it, saving returns a message; uploads and downloads are not affected.

An authorisation policy can separately forbid upload, download, edit, delete, rename and folder creation; see Authorisation policies.

Access with an SSH client

When the built-in SSH service is on (port 8089 by default), users can sign in to the bastion with any SSH client and then pick an authorised SSH asset.

Steps

  1. Sign in with your bastion username and password:

    ssh -p 8089 <username>@<bastion address>
  2. If the account has two-factor authentication, enter the 6-digit code from the authenticator app.

  3. In the menu, choose My assets (我的资产), type to search, and pick the asset.

You can also add @<asset name> to the username to go straight to that asset after signing in:

ssh -p 8089 -l '<username>@<asset name>' <bastion address>

The built-in SSH service lists SSH assets only. It is subject to access security, login policies and the failed sign-in lockout, and sign-ins are written to the login log. If the password has expired or must be changed, sign-in through the built-in SSH service is refused until the password is changed in the web console.

My commands and My files

The ordinary user's workspace has two more pages:

  • My commands (我的指令): your own saved commands, which you can run in batch on the SSH hosts you are authorised for; see Commands.
  • My files (我的文件): your personal file space, with the space used. With drive mapping on, this is what an RDP session shows on the mapped drive.

On this page