Derwynd's Weblog

Derwynd's Weblog

Fedora 17: Install OpenSSH Server

How to install the OpenSSH Server on Fedora 17 for remote access.

Open a terminal, become root and install the software.

# su -
# yum install -y openssh-server

Use existing user that need to be allowed to SSH  remotely (eg someuser someuser2).

Now, edit /etc/ssh/sshd_config and add the following.

PermitRootLogin no
AllowUsers someuser someuser2

The above will disable logins for root and only permit connects from someuser someuser2.

And finally, enable and start the SSH service.

systemctl enable sshd.service
systemctl start sshd.service

September 12, 2012 Posted by | Uncategorized | Leave a comment