Skip to content

How To Configure SSH for a RAC Installation [ID 300548.1]

How To Configure SSH for a RAC Installation [ID 300548.1] published on Комментариев к записи How To Configure SSH for a RAC Installation [ID 300548.1] нет

How To Configure SSH for a RAC Installation [ID 300548.1]

cd $HOME
rm -rf .ssh
mkdir .ssh
chmod 700 .ssh
cd .ssh
ssh-keygen -t rsa
ssh-keygen -t dsa
cat $HOME/.ssh/*.pub >> $HOME/.ssh/authorized_keys.$HOSTNAME
cd $HOME/.ssh
scp rac[1-4]:$HOME/.ssh/authorized_keys.oel6* $HOME/.ssh
scp $HOME/.ssh/authorized_keys.oel6*    oel6-[1-4]:$HOME/.ssh
cat $HOME/.ssh/*oel6* >> $HOME/.ssh/authorized_keys
chmod 600 authorized_keys

Добавить комментарий

Ваш e-mail не будет опубликован. Обязательные поля помечены *

Primary Sidebar

Яндекс.Метрика