Section Fourth: SSH config command explanation
1) config in order to facilitate our batch management of multiple SSH
2) config stored in ~/.ssh/config
3) SSH config syntax keyword
Host---alias HostName---hostname port---Ports user-----username identityfile-----Key File path
The default port for the SSH protocol is 43, and the default port for the HTTP protocol is 80,HTTPS protocol.
Problems encountered during the learning process:
In the input CD ~/.ssh/hint ' no such filename '
Solution: SSH localhost (use SSH login under root user)
SSH Secure Password-free login: SSH key
1) SSH key generates public and private keys using asymmetric encryption
2) The private key is placed in the local ~/.ssh directory
3) The public key can be exposed externally and placed on the server ~/.ssh/authorized_keys
How does the Linux platform generate SSH keys?
SSH-KEYGEN-T RSA
Ssh-keygen-t DSA
How does the Windows platform generate SSH keys?
Using Xshell
SSH Secure Port
Port security refers to trying to avoid the remote connection port of the server is known to the Rogue, to change the default service port number operation;
How do I change the SSH service port?
Modifying the/etc/ssh/sshd_config configuration
Linux-Learning Note two