Passwordless SSH access to other hosts (FAILED)

Moderator: NorbertKrupa

vicky_tsc
Newbie
Newbie
Posts: 12
Joined: Wed Apr 24, 2013 7:16 am

Passwordless SSH access to other hosts (FAILED)

Post by vicky_tsc » Sat Jun 29, 2013 10:02 am

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) "

User avatar
JimKnicely
Site Admin
Site Admin
Posts: 1825
Joined: Sat Jan 21, 2012 4:58 am
Contact:

Re: Passwordless SSH access to other hosts (FAILED)

Post by JimKnicely » Sat Jun 29, 2013 2:23 pm

check the following post to see if it helps:

http://www.vertica-forums.com/viewtopic.php?f=7&t=1010
Jim Knicely

Image

Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.

vicky_tsc
Newbie
Newbie
Posts: 12
Joined: Wed Apr 24, 2013 7:16 am

Re: Passwordless SSH access to other hosts (FAILED)

Post by vicky_tsc » Sat Jun 29, 2013 3:14 pm

i am getting the same error and my OS in redhat enterprise edition. please help thank you for the reply

User avatar
JimKnicely
Site Admin
Site Admin
Posts: 1825
Joined: Sat Jan 21, 2012 4:58 am
Contact:

Re: Passwordless SSH access to other hosts (FAILED)

Post by JimKnicely » Sat Jun 29, 2013 3:20 pm

Log in as root in host1.

What happens if you run the command?

ssh host2
Jim Knicely

Image

Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.

vicky_tsc
Newbie
Newbie
Posts: 12
Joined: Wed Apr 24, 2013 7:16 am

Re: Passwordless SSH access to other hosts (FAILED)

Post by vicky_tsc » Sat Jun 29, 2013 3:42 pm

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)

User avatar
JimKnicely
Site Admin
Site Admin
Posts: 1825
Joined: Sat Jan 21, 2012 4:58 am
Contact:

Re: Passwordless SSH access to other hosts (FAILED)

Post by JimKnicely » Sat Jun 29, 2013 3:50 pm

On host 2, try changing the file permissions (run as root):

chmod 750 /home/dbadmin/.ssh
chmod 600 /home/dbadmin/.ssh/authorized_keys
Jim Knicely

Image

Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.

User avatar
JimKnicely
Site Admin
Site Admin
Posts: 1825
Joined: Sat Jan 21, 2012 4:58 am
Contact:

Re: Passwordless SSH access to other hosts (FAILED)

Post by JimKnicely » Sat Jun 29, 2013 3:52 pm

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/
Jim Knicely

Image

Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.

Post Reply

Return to “Vertica Installation”