Solved - Refused to connect with ssh

Solved - Refused to connect with ssh

Postby janpihlgren » Mar 27th, '21, 08:28

I try to connect to a second PC with Mageia 8.
[jan@Humlan ~]$ ssh jan@myran -v
OpenSSH_8.0p1, OpenSSL 1.1.0l 10 Sep 2019
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to myran [192.168.1.1x8] port 22.
debug1: connect to address 192.168.1.1x8 port 22: Connection refused
ssh: connect to host myran port 22: Connection refused
[jan@Humlan ~]$

and the second PC (Myran) refuse to connect.
I don't know how to open the possibility to connect to Myran.
This is a problem that begin when I installed Mageia 8 in Myran.
Please give a detaled description.
Last edited by janpihlgren on Mar 27th, '21, 14:40, edited 1 time in total.
User avatar
janpihlgren
 
Posts: 292
Joined: Mar 30th, '11, 12:23
Location: Marsta, Sweden

SOLVED Re: Refused to connect with ssh

Postby janpihlgren » Mar 27th, '21, 11:15

I solved the problem.
1. I googled and find: https://mageia.pkgs.org/8/mageia-core-release-x86_64/openssh-server-8.4p1-2.mga8.x86_64.rpm.html
2 Then I discover that openssh-server wasn'i in the Mageia 8 by default.
3. After that I had to remove securitycodes for my little laptop in /home/jan/.ssh I did that by using kwrite and etited the file.

The conclusen is that openssh isnt in the default packages when installing Mageia 8
User avatar
janpihlgren
 
Posts: 292
Joined: Mar 30th, '11, 12:23
Location: Marsta, Sweden

Re: Refused to connect with ssh

Postby isadora » Mar 27th, '21, 12:53

Please Jan, don't forget to mark the topic [SOLVED].
You can do so, by editing the subject/title in the first message in this topic.
Write [SOLVED] to the left of subject/title, thanks ahead. ;)a
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2681
Joined: Mar 25th, '11, 16:03
Location: Amsterdam, the Netherlands


Return to Networking

Who is online

Users browsing this forum: No registered users and 1 guest