Configure remote Linux Server SSH key authentication for automatic logon in Mac OS X1. Create a public key on the local machine
Open the omnipotent terminal, execute the following command, ignore all output, and press ENTER happily.
ssh-keygen -t
1. ssh [email protected]115.28. 87.102 (Connect to a remote host directly using SSH instead of using http,ftp to connect to a specific remote host)Exit and Logout close connection exit2.left-connection (left connection forward connection) 1
Tips server ssh forward reverse proxy, tipsssh
1. ssh userxxxxname@115.28.87.102(Directly connect to the remote host using ssh instead of connecting to the specific remote host using http or ftp)Exit and logout close connection exit
2.
1. Create a public key on the local machineOpen the Universal terminal, execute the following command, ignoring all the output, all the way to enter the cheerful.Ssh-keygen-t rsa-c ' Your [email protected] '-t specifies the key type, which is RSA
Use Google-Authenticator to enhance server SSH LoginFor people who need special encryption, I will provide a method for Google-based encryption.
The procedure is as follows:
Preparation:First, prepare the client on your mobile phone (Baidu
Use Xshell to connect to the server SSH
1) about Xshell
The SSH client mentioned in more information on the Internet is putty, because it is simple, open-source, and free. However, because the function is too simple, we recommend that you use Xshell
Git in user management and management, the following three ways to solve:Providing an SSH connection is the only option if you need everyone on the team to have write access to the repository, and you can't create an account for everyone on the
Ubuntu installation package actually does not bring the OpenSSH server, so to telnet to the Ubuntu host using SSH, you need to first install the SSH server:sudo apt-get install Openssh-serverAfter installation, start the SSH
SSH is a security protocol, mainly used to encrypt remote login session data to ensure the security of data transmission, now introduce how to install and configure SSH on Ubuntu 14.041. Update the source listOpen "Terminal Window", enter "sudo
SSH is a security protocol, mainly used to encrypt remote login session data to ensure the security of data transmission, now introduce how to install and configure SSH on Ubuntu 14.04Tools/Materials
Ubuntu 14.04
Putty v0.63
Method/
Example of Git repository server SSH Authentication
Git provides three solutions for user management and management:
If everyone in the team needs to have the write permission on the repository and cannot create an account for everyone on the server,
A remote connection server is a useful operation for system administrators, which makes server management easier.I'll come to the science. Knowledge about Remote connection server:Currently, there are several types of remote connection servers:①
Server SSH AuthenticationOnly need to backup and copy the/ETC/SSH directory on the server to change server IP or reload openssh-server, system reload, etc. without affecting client connectionIf the following error can be avoided@@@@@@@@@@@@@@@@@@@@@@
A is a local host (that is, the machine used to control other hosts); b is the remote host (that is, the controlled machine server), IP is 192.168.100.247; The systems A and B are all Linux commands on a.# Ssh-keygen-T RSA (three consecutive returns,
Today's mood is not very beautiful, play jokes may not be so much, or return to the point1. Specify the SSH port, user name, password-related configuration, I do not need to configure the key here what.2. Next time you create a task, SSH
Assume that there are 2 servers a (127.0.0.1) and B (192.168.0.1), a as a client to log on to Server B1. Use Ssh-keygen-t ras-p ' under Server AGenerate Public key (Id_rsa.public) and private key (Id_rsa) in the ~/.ssh directory2. Copy the generated
Assume that there are three servers with IP 10.9.1.101, 10.9.1.102, 10.9.1.103, respectively.
Modify the Hosts file
Modify the Hosts file (vi/etc/hosts) for each of the three servers, respectively,Added in the Hosts file10.9.1.101 node1
SSH is a security protocol, mainly used to encrypt remote login session data to ensure the security of data transmission.Installing SSHsudo apt-get updatesudo apt-get install Openssh-serverTo see if the installation was successfulsudo ps-e |grep ssh
Nov 3 01:22:06 Server sshd[11879]: Failed password for root from 123.127.5.131 Port 38917 ssh2Nov 3 01:22:17 Server sshd[11880]: Received disconnect from 123.127.5.131:13:the user canceled authentication.
Nov 3 03:15:08 Server sshd[17524]:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.