SSH server may not be installed by default on your Fedora Linux box. Therefore, any attempt to connect to your box via ssh my result in:
ssh: connect to host HOST/IP port 22: Connection refused
Error message. In order to be able to connect to our FEDORA linux box using ssh we first need to install it using yum command.
# yum install openssh-server

Once we have our SSH server installed we need to start it up:
# systemctl start sshd
If successfull, this should open up port 22.
# netstat -ant | grep 22
tcp        0      0    *               LISTEN 
tcp6       0      0 :::22                   :::*                    LISTEN
All is ready to make your fisrt ssh connection:
$ ssh myserver

Free Linux eBooks

Go to top