Original page http://www.web-jia.com/view.php?a=11
Today want to ArchLinux in the virtual machine to open a openssh so upload download files more convenient point
Pacman-s OpenSSH
It's easy to install, no problem.
To have the system start automatically when it starts OpenSSH
#systemctl Enable sshd
You can also manually start OpenSSL to perform
#systemctl start sshd
See what you have to say to set the
/etc/hosts.deny #默认拒绝所有连接
/etc/hosts.allow #默认没有任何允许连接, need to be added manually
But the test doesn't have to be set.
I'm going to use root to log in remotely when I report access denied
I looked it up on the Internet. The root user is not allowed to log on by default
According to the Internet, the configuration file has been modified
/etc/ssh/sshd_config
Change the # number before Permitrootlogin yes to this format.
I did not change the effect, just started not to find such a line and did not think carefully added after the restart Systemctl restart sshd
Find a lot of said change this to see a few after feeling like the file is wrong
Look carefully at the original document that I changed is/etc/ssh/ssh_config no wonder there's no such a line.
After the correct file has been changed, the test can be connected
What is HTML 5 changing?
Basic concepts of the JavaScript kernel (1)
Using PHP Regular expressions to determine IP address
A discussion on the mediator mode of PHP design pattern
JavaScript refactoring in-depth profiling (1)
50 Essential Practical jquery Code Snippets (1)
Who does the 1.2.1 form live for?
Objects and resources for PHP
5.4.1 Steering JavaScript (1)
2.11 Class and ID attributes
JavaScript closures You know, I understand.
JavaScript design Patterns in-depth analysis (1)
ArchLinux Open OpenSSH