Enable SSH on Fedora 15

Good ol’ Secure Shell or SSH — who would want to live without them!? To give you a text-book definition; SSH is a network protocol that allows data to be exchanged using a secure channel between two networked devices. Now that we’ve gotten that out of the way, let get down to business. You’ve got a fresh install of Fedora 15, with that wonky GNOME 3 desktop, and need to figure out how to enable SSH. This article is simply a barebones way of getting started. There’s a better method to make the SSH session more secure, but I haven’t researched that yet.In order to run some of the commands you’ll need to have the root account’s password.
Enable SSH Daemon
First things first, let’s make sure that the ssh daemon is running. Without that we’re not using this service at all. Open gnome-terminal and type:
$ su -
Password:
# systemctl start sshd.service
Now that it’s started you’ll need to keep it going in case you reboot your machine. Run the following command to have it start on-boot:
# systemctl enable sshd.service
After executing that command I received the message below. Tomasz Torcz was kind of enough let me know that the above command will redirect to chkconfig until systemd unit file is shipped with sshd.
sshd.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig sshd on
Verify Firewall Setting
By default port 22 is open in the firewall, but it’s good to double check. Open system-config-firewall. You can either type in that name or navigate to Activities | Applications | Firewall.
Test the Connection
The easiest way to test is run the ssh command in your terminal. Another method is installing an SSH client on your Android device (ConnectBot) or installing PuTTY on your Windows machine. If you’re going to test the connection on the same machine, simply open gnome-terminal and type:
$ ssh user@hostname
For instance my username is “marc” and my computer is 10.0.0.2 (I could never figure out how to configure my hostname properly). So; I type in ssh marc@10.0.0.2. I’d get a warning message saying:
The authenticity of host ’10.0.0.2 (10.0.0.2)’ can’t be established.
RSA key fingerprint is [some long identification number in 2-digit sequence]
Are you sure you want to continue connecting (yes/no)?
Once I typed in “yes”, I was then able to type in my password for “marc” and continue on. That’s it. Have fun SSHin’ into your machine from remote places.

Pingback: service building
Pingback: kitchen cabinets