N
N
NazarJs2020-02-24 16:17:48
SSH
NazarJs, 2020-02-24 16:17:48

How to login via SSH on windows 10?

When I try to clone a repository using ssh, I get this error

$ git clone [email protected]:v3/softwarelicense/Onboarding/Onboarding
Cloning into 'Onboarding'...
Unable to negotiate with 52.236.147.103 port 22: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1,diffie-hellman-group14-sha1
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.


Next, Google advises to run the command
$ ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 [email protected]

What git responds to
ssh: connect to host computer port 22: Connection refused

Please tell me how to solve the problem

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
FanatPHP, 2020-02-24
@FanatPHP

Add your SSH key to the repository.
or clone not via SSH, but via HTTPS

S
Saboteur, 2020-03-09
@saboteur_kiev

Complete

GIT_SSH_COMMAND="ssh -vvv" git clone  [email protected]:v3/softwarelicense/Onboarding/Onboarding

Look at what swears.
Surely there is no problem in finding your private key?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question