Unable to negotiate with 157.7.234.41: no matching host key type found. Their offer: ssh-dss
というヤツ。どうも
OpenSSH の 7.0 から DSA(ssh-dss) の脆弱性により無効にされたことが原因のようです.
将来的には GitBucket もRSAに対応してくれると思うのですが,一時的な対応としてクライアント側で対応します.
~/.ssh/config で特定ホストに対して,ssh-dss の認証を有効にする.
Host GitBucketのホスト名(or IP) HostKeyAlgorithms ssh-dss
で
$ ssh lgit Welcome to _____ _ _ ____ _ _ / ____| (_) | | | _ \ | | | | | | __ _ | |_ | |_) | _ _ ___ | | __ ___ | |_ | | |_ | | | | __| | _ < | | | | / __| | |/ / / _ \ | __| | |__| | | | | |_ | |_) | | |_| | | (__ | < | __/ | |_ \_____| |_| \__| |____/ \__,_| \___| |_|\_\ \___| \__| Successfully SSH Access. But interactive shell is disabled.
おー、すばらしい