How to verify SSH Installed in Hadoop Cluster Quickly
Below command helps, whether SSH is installed or not on your Hadoop cluster.
[hadoop-user@master]$ which ssh
/user/bin/bash
[hadoop-user@master] $ which sshd
/user/bin/sshd
[hadoop-user@master] $ which ssh -keygen
/user/bin/sshd
If you do not get proper response as above. That means that SSH is not installed on your cluster.
Resolution:
If you receive an error message
/user/bin/which: no ssh in (/user/bin: /user/sbin....)
You need to install open SSH (www.openssh.com) vial Linux package manager. Or by downloading the source directly.
Note: This is usually done by System Admin.
[hadoop-user@master]$ which ssh
/user/bin/bash
[hadoop-user@master] $ which sshd
/user/bin/sshd
[hadoop-user@master] $ which ssh -keygen
/user/bin/sshd
If you do not get proper response as above. That means that SSH is not installed on your cluster.
Resolution:
If you receive an error message
/user/bin/which: no ssh in (/user/bin: /user/sbin....)
You need to install open SSH (www.openssh.com) vial Linux package manager. Or by downloading the source directly.
Note: This is usually done by System Admin.
Comments
Post a Comment
Thanks for your message. We will get back you.