SSH [email protected] "Ls/home"
The default is the current user name connection directory
Bulk Change Password
EOF must be written on the head
A standard remote SSH script to change the password
Installation of Unixtodos and Dostounix can be
When connecting to a server, ask if you trust the public key, and the second time you connect it is saved locally
After the first answer, the server then sends the public key a contrast exactly, don't ask Yes No
And when the RSA host deletes the host key (RSA public key)
Prompt for a possible man-in-the-middle attack
We remove the public key that the host stores on the local computer
Located in the J home directory. Under SSH known_host edit him delete the server that has the host key removed
Re-wait for the message to be identified (no longer known at this time) and prompt to answer Yes No
0.0.0.0 means that there are multiple network cards that can listen to your connection.
The connection server server will reverse-parse the client's address
Logingrace time when the client is connected but no matter after two minutes of persistence
Black and white list from top to bottom user name @ address
How to connect without a password
Generate key pair SSH copy id-i [email protected] remote upload public key server one more SSH
The client sends the generated public key to the server itself to save the private key server to save the public key sent over to the. ssh/ authorized_ keys,
The client is concerned that the private key is stolen so that the private key is encrypted by Sshadd, double authentication is performed, and the password that encrypts the private key is saved in ssh-agent, so that the client does not need to enter the password and the security of the private key is completed.
Some scripting miscellaneous actual production issues