ssh: connect to host HOST/IP port 22: Connection refusedError message. In order to be able to connect to our FEDORA linux box using ssh we first need to install it using
# yum install openssh-server
Once we have our SSH server installed we need to start it up:
# systemctl start sshdIf successfull, this should open up port 22.
# netstat -ant | grep 22 tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN tcp6 0 0 :::22 :::* LISTENAll is ready to make your fisrt ssh connection:
$ ssh myserver