How to Start Using SSH in Fedora

7:39 AM

In this article I will tell you how to set up SSH on Fedora 15/16.

Secure Shell (SSH) is a TCP/IP service. It provides a secure mechanism for remotely logging in to one system either over the local network or over the internet from another system. SSH is useful for managing a system remotely or transferring files between remote systems. When you log in to a remote system using SSH, you receive a command prompt allowing you to enter commands on the remote system. 

  1. In order to accept SSH connections openssh-server must be installed. This is installed by default in Fedora, but if you want to make sure it is installed you can issue this command from Terminal:  /sbin/service sshd status. You should get a message telling you that it is loaded but inactive.

  2. Start the service by issuing the following command as root or super user: /sbin/service sshd start. You should get the following message: Redirecting to /bin/systemctl start sshd.service.

  3. Check again to see if the service is running by running the command in instruction 1. Now it should return a message saying is is loaded and running.xjonquilx | Mepis, Ubuntu, Fedora, Linux, Oh My!

  4. Open up the Fedora Firewall and put a check mark next to SSH. Click Apply.xjonquilx | Mepis, Ubuntu, Fedora, Linux, Oh My!

  5. Now you're ready to connect to your SSH server. This is done as follows in Terminal: ssh -l username ipaddress. Where it says username is where your username on the remote machine should go. Where it says ipaddress is where the IP address of the remote machine should go.

If you don't know your IP address on the remote machine, run the ifconfig command in Terminal on the remote machine. This will output information about the machine's  internet connection, including its IP address. xjonquilx | Mepis, Ubuntu, Fedora, Linux, Oh My!


xjonquilx | Mepis, Ubuntu, Fedora, Linux, Oh My!


You Might Also Like