我正在尝试从 AWS Cloud shell 安装 postgresql 客户端,但是出现以下错误:
Preparing your terminal...
Failed to open session : Timed out while opening the session
Trying to open session (Retrying. Attempt #1)
Connection is lost. Please refresh the browser to re-establish the connection.
[cloudshell-user@ip$ Try these commands to get started:
aws help or aws <command> help or aws <command> --cli-auto-prompt
[cloudshell-user@ip$ sudo apt install postgresql-client
sudo: apt: command not found
[cloudshell-user@ip$
Run Code Online (Sandbox Code Playgroud)
我使用下面的命令来安装 postgresql 客户端。
sudo apt install postgresql-client。
我们有什么方法可以从 AWS Cloud Shell 连接 AWS …