Id_rsa id_rsa.pub
Verify the following:[Plain]View Plaincopy
[Email protected] ~/.ssh $ ssh localhost
The authenticity of host ' localhost ' (:: 1) ' can ' t be established.
ECDSA key fingerprint is 5f:21:b1:24:80:92:f6:af:3e:e3:a8:f9:cb:a4:4f:ec.
Is you sure want to continue connecting (yes/no)? Yes
warning:permanently added ' localhost ' (ECDSA) to the list of known hosts.
[Email protected] ~ $ who
Sony Tty0 2011-11-25 15:42 (:: 1)
://s3.51cto.com/wyfs02/M01/5D/3D/wKiom1UiPG-D5NFAAAGbetn4eU4061.jpg "title=" QQ picture 20150406155757.png "alt=" Wkiom1uipg-d5nfaaagbetn4eu4061.jpg "/>2. Append the contents of Id_rsa_pub to the user home directory that requires password-free login. Authorized_keys in the. ssh folder.650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/5D/3E/wKiom1UiP5fy3d2eAAHSSgHHew8322.jpg "title=" QQ picture 2015
Use the SSH Public Key for password-free Login
SSH password-less logon requires the public key and private key. In Linux, ssh-keygen can be used to generate public/private key pairs. The following uses centos as an example.There are machines A (10.207.160.34) and B (10.221.32.234 ). Now I want a to log on to B via SSH without a password.First, use the root accou
open. If you run an SSH program without specifying a port number, it sends the request directly through Port 22.Some system administrators change the default port number for SSH. You will use the-p option, followed by the SSH port number.SSH [email protected]-P 1234SSH password-Free login principle (* * * * * * * * * *)Asymmetric encryption algorithmIn the daily work of production, we often need to communi
01_note_hadoop introduction of source and system; Hadoop cluster; CDH FamilyUnzip Tar Package Installation JDK and environment variable configurationTAR-XZVF jdkxxx.tar.gz to/usr/app/(custom app to store the app after installation)Java-version View current system Java version and environmentRpm-qa | grep Java View installation packages and dependenciesYum-y remove xxxx (remove grep out of each package)Configure the environment variable/etc/profile, and then enable configuration after configurati
When the permission denied (publickey,gssapi-keyex,gssapi-with-mic) warning appears, congratulate you, you have been very close to the success.The remote host is set to Slave2 and the user is Hadoop.Local host set to Slave1The following are the configurations on the remote host slave2, allowing Slave1 to connect to the Slave2 without a password. If you want to password-
How to implement SSH password-free login under Windows?The steps are as follows:1. Set the user name and email for git:$ git config--global user.name "XXXX"$ git config--global user.mail "[Email protected]"2. Generate SSH Key process:1) Check to see if the SSH key is already available: CD ~/.SSHIf there is no key then there will be no such folder, there is a backup to delete2) Survival key:$ ssh-keygen-t rs
, theauthorized_keys file appears under SSH. 5. Then copy the Authorized_keys file under the. SSH directory of the first machine to the. SSH directory of the second computer, such as: SCP Authorized_keys [Email protected]:~/.ssh/6. Next to the. SSH directory of the second machine, you will find the file-authorized_keys just transferred, and then execute the command to add the second computer's public key, such as: Cat Id-rsa.pub >> Authorized_keys.7. Transfer the newly generated authorized_keys
1. How to avoid password-free mutual trust between ssh-Principle: Private Key Encryption and Public Key decryption
Establish an SSH trust relationship between experiment web1 (192.168.204.7) and web2 (192.168.204.9)
The command ssh-keygen is used to generate the public key and private key.
Operate on web1
1. automated commands
Ssh-keygen-t rsa-p'-f ~ /. Ssh/id_rsa
-T indicates the type
-P specifies the
SSH password-free on one machine is always unsuccessful. Later, OpenSSH was re-installed, but an error was reported:
Bash: SSH: Command not found...
Similar commands: 'sh'
Run: Yum install OpenSSH-clients OK:
But the SSH password still does not work. Later, Check log (/var/log/secure ). Test. Run OK.
Ssh-keygen-T RSA
[[Email protected]. Ssh] # chmod g-W/roo
We usually in Xshell use command SSH [email protected] Telnet to Linux, this will prompt us to enter the password is more troublesome, want to password-free login, we can generate the corresponding key, and then put on the remote server, the following is the specific operation.Here we generate the public key and the private key, we upload the public key id_ras_10
Admin Server password-free configuration >1. Is there a security/boot.properties file in the admin root directory in production mode[Email protected] adminserver]$ pwd/home/weblogic/oracle/middleware/user_projects/domains/base_domain/servers/adminserver[email protected] adminserver]$ LLTotal 16DRWXR-----. 3 WebLogic WebLogic 4096 Nov 6 14:45 CacheDRWXR-----. 5 WebLogic WebLogic 4096 Nov 6 14:46 dataDRWXR---
SSH login with no password to use the public and private keys. Linux can be used to generate a public/private key pair with Ssh-keygen, below I take CentOS as an example.There is machine A (192.168.0.188), B (192.168.0.189). Now want to a through SSH password-free login to B.1. Generate a public/private key pair under the a machine.650) this.width=650; "src=" Htt
SSH login with no password to use the public and private keys. Linux can be used to generate a public/private key pair with Ssh-keygen, below I take CentOS as an example.There is machine A (192.168.1.155), B (192.168.1.181). Now want to a through SSH password-free login to B.1. Generate a public/private key pair under the a machine.[[email protected] ~]$ ssh-keyg
FCrackZip is a quick and free zip compression file password cracking tool. FCrackZip is an open source software, so you can customize it as needed.
Download link: http://down.51cto.com/data/205252
More security tools> go to topics
More network management software> Special Topics
Crack the Zip file Password
Currently, the most popular file format on the netwo
Configure SSH password-free logon in Linux:
Assume that the username is sinbad.
1) confirm that you have connected to the Internet. At this time, we need to download the ssh installation package.
All you need to do is press Y.
2) to log on to the local machine without a password, first check whether the ". ssh" folder exists under the current user.
Because
1) Set the network configuration of 3 machines and unify the user name, except rootmaster:192.168.2.10slave1:192.168.2.11slave2:192.168.2.122) SSH password-free login ideaSince three nodes are accessible to each other, three nodes are both client and server side, we create a pair of key files on three nodes respectively, the key file includes the public key file (~/.ssh/id_rsa.pub) and the private key file
Method 11. Installing the OpenSSL softwareYum Install-y OpenSSL Mod_ssl2. Generate server private key, generate Server.key fileOpenSSL genrsa-des3-out Server.key 1024httpd Start-up password-free add the following steps:(1) CP Server.key SERVER.KEY.TMP(2) OpenSSL rsa-in server.key.tmp-out Server.key--------This will require you to enter a password, enter the
Method 1: Use the Set password commandMysql-u Rootmysql> SET PASSWORD for ' root ' @ ' localhost ' = PASSWORD (' Newpass ');Method 2: Use Mysqladmin
mysqladmin-u root Password "Newpass"If Root has already set a password, use the following methodmy
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.