i am installing vertica in two nodes,but it showing error as below
[root@host1 SHARED_FOLDERS]#/opt/vertica/sbin/install_vertica -s host1,host2 -r vertica-ce-6.1.1-0.x86_64.RHEL5.rpm
I am getting error as "Passwordless SSH access to other hosts (FAILED) "
Passwordless SSH access to other hosts (FAILED)
Moderator: NorbertKrupa
- JimKnicely
- Site Admin
- Posts: 1825
- Joined: Sat Jan 21, 2012 4:58 am
- Contact:
Re: Passwordless SSH access to other hosts (FAILED)
Jim Knicely
Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.
Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.
Re: Passwordless SSH access to other hosts (FAILED)
i am getting the same error and my OS in redhat enterprise edition. please help thank you for the reply
- JimKnicely
- Site Admin
- Posts: 1825
- Joined: Sat Jan 21, 2012 4:58 am
- Contact:
Re: Passwordless SSH access to other hosts (FAILED)
Log in as root in host1.
What happens if you run the command?
ssh host2
What happens if you run the command?
ssh host2
Jim Knicely
Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.
Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.
Re: Passwordless SSH access to other hosts (FAILED)
It is connecting from node1 root to node2 root passwordless. but with dbadmin it is showing as permission denied
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password)
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password)
- JimKnicely
- Site Admin
- Posts: 1825
- Joined: Sat Jan 21, 2012 4:58 am
- Contact:
Re: Passwordless SSH access to other hosts (FAILED)
On host 2, try changing the file permissions (run as root):
chmod 750 /home/dbadmin/.ssh
chmod 600 /home/dbadmin/.ssh/authorized_keys
chmod 750 /home/dbadmin/.ssh
chmod 600 /home/dbadmin/.ssh/authorized_keys
Jim Knicely
Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.
Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.
- JimKnicely
- Site Admin
- Posts: 1825
- Joined: Sat Jan 21, 2012 4:58 am
- Contact:
Re: Passwordless SSH access to other hosts (FAILED)
Also, I think that weird permissions bug also applies to RedHat, so run this command as root from host 1:
ssh root@host2 'restorecon -R -v /home/dbadmin/.ssh'
Refer to: http://blog.firedaemon.com/2011/07/27/p ... -centos-6/
ssh root@host2 'restorecon -R -v /home/dbadmin/.ssh'
Refer to: http://blog.firedaemon.com/2011/07/27/p ... -centos-6/
Jim Knicely
Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.
Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.