The entire process takes fedora 20 as an example.
First install & Configure SSH,SSH After the installation is complete, the server can throw aside the tube.
SSH is using the OpenSSH
Determine if OpenSSH is already installed Rpm-qa | grep openssh-server
If there is a display similar to openssh-server-6.4p1-4.fc20.x86_64 that has been installed
Run Yum install openssh-server for installation if not installed
SSH config file default in/etc/ssh/sshd_config, default parameters are used temporarily, no modification is required
Service sshd Status View SSH state
Service sshd stop ssh (Modified SSH config file requires SSH service restart)
Service sshd start to open SSH
SSH is installed & configured if SSH status is active
There might be friends like me. Using a laptop as a test site, how can I avoid the case where the SSH service hangs under the screen lid only in the case of a terminal?
Terminal of course also has power management, with VI open/etc/systemd/logind.conf
Find "#HandleLidSwitch" this line will comment out and change the value to ignore
Then reboot the whole machine so the laptop screen lid will not hang up the SSH service!