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 0.0.0.0:22              0.0.0.0:*               LISTEN 
tcp6       0      0 :::22                   :::*                    LISTEN
All is ready to make your fisrt ssh connection:
$ ssh myserver
ARE YOU LOOKING FOR A LINUX JOB?
Submit your RESUME, create a JOB ALERT or subscribe to RSS feed on LinuxCareers.com.
LINUX CAREER NEWSLETTER
Subscribe to NEWSLETTER and receive latest news, jobs, career advice and tutorials.
DO YOU NEED ADDITIONAL HELP?
Get extra help by visiting our LINUX FORUM or simply use comments below.

You may also be interested in:



Comments and Discussions