LoginSignup
1
1

More than 3 years have passed since last update.

wagon-ssh がホスト鍵が見当たらないといって接続できない

Last updated at Posted at 2020-03-24

sshコマンドで接続できることは確認済みなのに、GitLab runner経由で mvn site:deploy すると、ホスト鍵が拒否されて接続できない。

RSA形式のホスト鍵が必要らしい。以下のコマンドでホスト鍵を登録する。

ssh-keyscan -t rsa your.host.name >> ~/.ssh/known_hosts

参考にしたSOエントリ。めちゃくちゃ助かった。

Maven Wagon SCP is not able to establish a connection

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1