只列出在一个机器上的操作。从rac01-ud-us-eqx到rac02-ud-us-eqx和rac03-ud-us-eqx
bash-3.00$ ssh 10.12.32.182
The authenticity of host '10.12.32.182 (10.12.32.182)' can't be established.
RSA key fingerprint is 7e:8d:db:aa:7c:15:3e:b6:4e:5f:86:58:b5:e8:97:7a.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '10.12.32.182' (RSA) to the list of known hosts.
Password:
Password:
Password:
Permission denied (gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive).
bash-3.00$
bash-3.00$
bash-3.00$ /usr/bin/ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/export/home/oracle/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /export/home/oracle/.ssh/id_rsa.
Your public key has been saved in /export/home/oracle/.ssh/id_rsa.pub.
The key fingerprint is:
73:a0:e2:39:0b:6a:f5:b2:90:63:2d:a0:8b:20:96:af oracle@rac01-ud-us-eqx
bash-3.00$ /usr/bin/ssh-keygen -t dsa
Generating public/private dsa key pair.
Enter file in which to save the key (/export/home/oracle/.ssh/id_dsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /export/home/oracle/.ssh/id_dsa.
Your public key has been saved in /export/home/oracle/.ssh/id_dsa.pub.
The key fingerprint is:
5b:f6:0b:e5:2d:85:04:1c:85:84:52:de:ac:a1:27:f1 oracle@rac01-ud-us-eqx
bash-3.00$ ssh rac01-ud-us-eqx cat /export/home/oracle/.ssh/id_rsa.pub >>authorized_keys
The authenticity of host 'rac01-ud-us-eqx (10.12.32.181)' can't be established.
RSA key fingerprint is a5:b1:df:ea:ca:b5:78:69:43:cb:2b:cb:de:9f:f1:5d.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'rac01-ud-us-eqx,10.12.32.181' (RSA) to the list of known hosts.
Password:
bash-3.00$ ssh rac01-ud-us-eqx cat /export/home/oracle/.ssh/id_dsa.pub >>authorized_keys
Password:
bash-3.00$ ssh rac02-ud-us-eqx cat /export/home/oracle/.ssh/id_rsa.pub >>authorized_keys
The authenticity of host 'rac02-ud-us-eqx (10.12.32.182)' can't be established.
RSA key fingerprint is 7e:8d:db:aa:7c:15:3e:b6:4e:5f:86:58:b5:e8:97:7a.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'rac02-ud-us-eqx' (RSA) to the list of known hosts.
Password:
bash-3.00$ ssh rac02-ud-us-eqx cat /export/home/oracle/.ssh/id_dsa.pub >>authorized_keys
Password:
bash-3.00$ scp authorized_keys rac02-ud-us-eqx:/export/home/oracle/.ssh
Password:
authorized_keys 100% |*********************************************************************************| 2532 00:00
bash-3.00$ ssh rac02-ud-us-eqx
Last login: Wed Apr 21 02:28:53 2010 from rac01-ud-us-eqx
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
$ exit
Connection to rac02-ud-us-eqx closed.
bash-3.00$ ssh rac03ud-us-eqx cat /export/home/oracle/.ssh/id_rsa.pub >>authorized_keys
ssh: rac03ud-us-eqx: node name or service name not known
bash-3.00$ ssh rac03-ud-us-eqx cat /export/home/oracle/.ssh/id_rsa.pub >>authorized_keys
The authenticity of host 'rac03-ud-us-eqx (10.12.32.183)' can't be established.
RSA key fingerprint is 01:d0:d1:4c:6b:4e:00:fe:d1:c0:33:5d:fd:56:2f:19.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'rac03-ud-us-eqx,10.12.32.183' (RSA) to the list of known hosts.
Password:
bash-3.00$ ssh rac03ud-us-eqx cat /export/home/oracle/.ssh/id_dsa.pub >>authorized_keys
ssh: rac03ud-us-eqx: node name or service name not known
bash-3.00$ ssh rac03-ud-us-eqx cat /export/home/oracle/.ssh/id_dsa.pub >>authorized_keys
Password:
bash-3.00$ scp authorized_keys rac03-ud-us-eqx:/export/home/oracle/.ssh
Password:
authorized_keys 100% |*********************************************************************************| 3376 00:00
bash-3.00$ ssh rac03-ud-us-eqx
Last login: Wed Apr 21 02:31:14 2010 from rac01-ud-us-eqx
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
$ exit
Connection to rac03-ud-us-eqx closed
分享到:
相关推荐
大多数的人都会配置2台linux主机之间的用户互信,但在很多项目实施场合,需要配置N多台主机之间的互信
官方文档中文版 《vSphere 主机配置文件》文档介绍了如何执行以下操作: ...n 将主机配置文件应用到连接到主机配置文件的实体 n 针对连接到主机配置文件的实体检查主机配置文件合规性 n 查看和更新主机自定义
2.添加一个虚拟主机,应该只是简单的在文件系统中创建合适的目录,以及配置相关的DNS信息,且无需重新启动Apache。 主要的缺点是你无法针对第个虚拟主机使用不同的日志文件。然而,如果真的在配置有大量虚拟主机的...
windows主机安全配置方法,符合安全等级保护二级要求。
计算机毕业设计-主机硬件配置推荐系统计算机毕业设计-主机硬件配置推荐系统计算机毕业设计-主机硬件配置推荐系统计算机毕业设计-主机硬件配置推荐系统计算机毕业设计-主机硬件配置推荐系统计算机毕业设计-主机硬件...
在LINUX配置主机信任时,对对端机(被免口令登录机器)的目录权限和文件权限相关说明:对端机的authorized_keys改为只有当前用户读取权限: $ chmod 600 authorized_keys 用户目录权限为755或者700就是不能是77x ./...
php 虚拟主机的配置 httpd.conf 打开虚拟主机的配置文件 # Virtual hosts Include conf/extra/httpd-vhosts.conf 修改 httpd-vhost.conf *:80> DocumentRoot "C:/myenv/apache/htdocs/static2" #Directory配置...
apache 虚拟主机配置 大全 资深web开发者总结apache配置vhost
具体如何配置apache里的虚拟主机
网络实验报告——动态主机配置协议报告,里面有该实验的截图,有问题的答案。
主机配置、 主机配置文件、vSphere 文件指南
网络技术的一些文档教程, 大家一起相互学习 ccna方面的
这是一个用来检查主机配置的小软件,很实用的!
如何配置自己的主机名?.pdf
《IPv6主机配置及实验环境搭建手册》系列三 配置主机与路由器间的IPv6隧道.pdf
php+apache虚拟主机配置 简单.php+apache虚拟主机配置
Tomcat虚拟主机配置
centos7配置nginx虚拟主机
这篇文档介绍了在linux环境下动态主机配置协议DHCP的配置,包括相关原理的介绍以及几个练习试验。
linux下apache虚拟主机的配置方法