$ ssh -vT -i ~/.ssh/google_compute_engine USER@REMOTE_HOST
...
...
debug1: send_pubkey_test: no mutual signature algorithm
debug1: No more authentication methods to try.
...
と、出力メッセージの中にエラーの原因が出力されてます
コマンドヘルプによると
-T Disable pseudo-terminal allocation.
-v Verbose mode. Causes ssh to print debugging messages about its progress. This is helpful in debugging connection, authentication, and configuration
problems. Multiple -v options increase the verbosity. The maximum is 3.
過去記事では macfuse ではなくosxfuse をインストールするものもありますが osxfuse has been succeeded by macfuse as of version 4.0.0. ということのようなので macfuseをインストールします
2. Goのインストール
$ brew install gcsfuse では、
gcsfuse: Linux is required for this software.
libfuse: Linux is required for this software.
Error: gcsfuse: Unsatisfied requirements failed this build.
$ go install github.com/googlecloudplatform/gcsfuse@master
でインストールはすんなり完了
インストールできたら .zshrc でパスを追加します
export PATH=$HOME/go/bin:$PATH
参考記事に書かれている
GO111MODULE=auto go get -u github.com/googlecloudplatform/gcsfuse
だと、
go: go.mod file not found in current directory or any parent directory.
'go get' is no longer supported outside a module.
To build and install a command, use 'go install' with a version,
like 'go install example.com/cmd@latest'