The administrative account must be able to use Secure Shell (SSH) to log in (ssh) to all hosts without specifying a password. The shell script install_vertica does this automatically. This section describes how to do it manually if necessary.
# chmod 700 ~
or
# chmod 755 ~
where:
700 Includes |
755 Includes |
400 read by owner 200 write by owner 100 execute by owner |
400 read by owner 200 write by owner 100 execute by owner 040 read by group 010 execute by group 004 read by anybody (other) 001 execute by anybody |
# cd ~
# ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/dbadmin/.ssh/id_rsa):
Created directory '/home/dbadmin/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/dbadmin/.ssh/id_rsa.
Your public key has been saved in /home/dbadmin/.ssh/id_rsa.pub.
# chmod 700 ~/.ssh
# cd ~/.ssh
id_rsa.pub
onto the file authorized_keys2
.# cp id_rsa.pub authorized_keys2
# chmod 600 ~/.ssh/*
# scp -r ~/.ssh <host>:.
$ ssh dev0
Warning: Permanently added 'dev0,192.168.1.92' (RSA) to the list of known hosts.
This message appears only the first time you ssh to a particular remote host.