Я пытаюсь клонировать репозиторий git, и я получаю ошибку
Unable to negotiate with <server>: no matching key exchange method found.
Their offer: diffie-hellman-group1-sha1
fatal: Could not read from remote repository.
Я отредактировал ~/.ssh/config
и добавил
Host somehost.example.org
KexAlgorithms +diffie-hellman-group1-sha1"
но все же я получаю ту же ошибку.
Другим решением является использование команды ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 [email protected] -p 2222
, но я получаю соединение, отказавшееся с портом № 22.
Я использую машину Windows.