How to Start Using SSH in Fedora

Posted by Jonquil on Oct 23, 2011 5:12 PM EDT
xjonquilx | Mepis, Ubuntu, Fedora, Linux, Oh My!; By Jonquil McDaniel
Mail this story
Print this story

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

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.

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. 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. 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. Open up the Fedora Firewall and put a check mark next to SSH. Click Apply. 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.

Full Story

» Read more about: Story Type: Tutorial; Groups: Fedora

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.