研发环境

macos下使用terminal连接ssh远程主机空闲一段时间就会进入假死状态,配置如下命令,每隔固定时间发送心跳包来保持长连接状态

vim ~/.ssh/config

#添加如下配置

Host *
  ServerAliveInterval 30
  ServerAliveCountMax 2

minio设置policy,例如允许访问test桶所有操作

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "s3:*"
      ],
      "Resource": [
        "arn:aws:s3:::test"
      ]
    }
  ]
}

results matching ""

    No results matching ""