By default, the OpenSSH server is installed on fedora 17. You do not need to install it again, but it is not enabled by default.
The following operations must be performed under the root user.
1. Check whether the installation is normal.
# Rpm-Qa | grep openssh-Server
If the installation is not normal, run the following command to install it:
# Yum install OpenSSH-Server
2. Enable the SSH service
# Systemctlstart sshd. Service
3. Start the service along with the System
# Systemctlenable sshd. Service
4. open port 22
# Iptables-I input-P TCP -- dport 22-J accept
You can also use the firewall graphical tool to configure the settings.
5. Test
Prepare two machines or virtual machines. Here I use fedora17, 192.168.10.20.ip, win7 and 192.168.10.254 IP. Make sure that the two machines are in the same LAN and can be pinged.
Test with SSH secureshell
After the password is entered, the shell interface is displayed:
The test is successful.
Download two SSH tools:
Securecrsecurefxp
Green Edition SSHSecureShellClient-3.2.9