A
A
AntonIgin2017-09-17 12:00:59
linux
AntonIgin, 2017-09-17 12:00:59

How to connect remotely to another Ubuntu computer?

Question about "How to connect remotely to another Ubuntu computer".
It was required to give remote access to the local machine. At first I thought that everything here was similar to connecting to the server, that is, I simply entered ssh [email protected]_IP
Answer:

Unable to negotiate with АДРЕС_IP port 22: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1

I google the error, I see a suggestion to enter the following command:
ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 IP_АДРЕС

The response is [email protected]'s password:. That is, you can immediately say that the computer is needed, I just have the user anton. I enter the password - writes Permission denied, please try again.
Strange, the password is correct. Maybe you need to somehow configure the system before you can connect to it remotely?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
AntonIgin, 2017-09-17
@AntonIgin

In general, I solved this problem, and in the course of solving it, I learned that I need to look at the IP not on any sites, but in the ifconfig -a command. You will also have to generate private and public keys with the ssh-keygen command.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question