Page 1 of 1

Solved - Refused to connect with ssh

PostPosted: Mar 27th, '21, 08:28
by janpihlgren
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.

SOLVED Re: Refused to connect with ssh

PostPosted: Mar 27th, '21, 11:15
by janpihlgren
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

Re: Refused to connect with ssh

PostPosted: Mar 27th, '21, 12:53
by isadora
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