Question:
Reason: the oozie user cannot SSH remotely to the root user.
Solution:
1.vi /etc/passwd
oozie:x:973:967:Oozie User:/var/lib/oozie:/bin/false
Change to oozie: X: 973:967: oozie user:/var/lib/oozie:/bin/Bash
2. It can be executed: Su – oozie
3.ssh-keygen<Generate secret key
4.Cat / var/lib/oozie/.ssh/id_ rsa.pub
5. Send the generated public key to the remote server user
/ root/.ssh/authorized_ keys
Read More:
- CDH restart hive error [How to Solve]
- [Solved] CDH ipa: ERROR: Host ‘cdh-master-v02.yunes.com‘ does not have corresponding DNS A/AAAA record
- [Solved] Error getting ssh command ‘exit 0‘ : ssh command error:
- [Solved] SecureCRT error: keyboard-interactive authentication with the ssh2 server failed
- How to Solve SSH Login Error: WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
- [INS-06006] Passwordless SSH connectivity not set up [Solved]
- [Solved] Vscode Connect SSH Error: Error Running the contributed command ‘_workbench.downloadResource
- [Solved] ssh secure shell: server responded algorithm negotiation failed
- [Solved] SSH + GIT Operate Error: Host key verification failed
- SSH integration error: org.hibernate.hql.internal.ast.QuerySyntaxException: User is not mapped[……]
- [Vagrant] When vagrant up, it stops at “SSH auth method: private key” and times out.
- How to Fix PVE Issues: ERROR: migration aborted
- [Solved] github Error: ERROR: You‘re using an RSA key with SHA-1
- Git push Submit to Remote Error: “remote: Support for password authentication was removed on August 13, 2021.“
- Error: Host Key Verification Failed [How to Solve]
- [Solved] ERROR: Attempting to operate on hdfs namenode as root ERROR: but there is no HDFS_NAMENODE_USER defi
- Support for password authentication was removed on August 13, 2021
- How to Solve elasticsearch root user start Error
- [Solved] Vscode Connect to the remote server error: permission denied (public key)
- [Solved] Matlab Code generate error: failed to generate all binary outputs