简单的说明一下方法:首先在本机上敲命令:ssh-keygen-tsra\生成rsa的密钥(这个命令生成一个密钥对:id_rsa和id_rsa.pub。他们默认被保存在~/.ssh/目录下。可以将id_rsa.pub改名为local_rsa.pub以免与远程主机上的id_rsa.pub重名。在生成过程中会要求输入passphrase,这个是用..
分类:
其他好文 时间:
2014-07-26 03:24:48
阅读次数:
249
1、在linux工作机上生成密钥对ssh-keygen -t rsa输入用户名但不输入passphrase,这样连接时就不用每次都输入passphrase了。2、添加用户和仓库在管理员的工作机上导出gitolite-admingit clone git@host:gitolite-admin在key...
分类:
其他好文 时间:
2014-07-24 21:19:53
阅读次数:
237
[root@cent6~]#ssh-keygen-trsa-P‘‘
Generatingpublic/privatersakeypair.
Enterfileinwhichtosavethekey(/root/.ssh/id_rsa):
/root/.ssh/id_rsaalreadyexists.
Overwrite(y/n)?y
Youridentificationhasbeensavedin/root/.ssh/id_rsa.
Yourpublickeyhasbeensavedin/root/.ssh/..
分类:
其他好文 时间:
2014-07-23 21:27:26
阅读次数:
301
把你的本地主机用户的ssh公匙文件复制到远程主机用户的~/.ssh/文件夹中1.在本地主机的用户可以是(root,cusadmin,以及准备使用scp的user)运行:[root@root~]#ssh-keygen-trsaGeneratingpublic/privatersakeypair.Enterfileinwhichtosavethekey(/root/.ssh/id_rsa):回车Enterpa..
分类:
系统相关 时间:
2014-07-23 21:14:26
阅读次数:
270
[root@redhatscript]#catback_web.sh
#!/bin/bash
#usescpnotusepassword.sodoit-->#ssh-keygen-trsa-->scp-p.ssh/id_rsa.pubroot@机器B的IP:/root/.ssh/authorized_keys
#mkdir&gotobackup
#####################################
#backupweb
myPath="/var/web_ba..
分类:
Web程序 时间:
2014-07-23 00:29:58
阅读次数:
239
Ceph1:vi/etc/hosts(onallnodes)127.0.0.1localhost192.168.1.15ceph1192.168.1.16ceph2192.168.1.17ceph3ssh-keygen-q-trsa-f~/.ssh/id_rsa-C‘‘-N‘‘vi~/.ssh/configHostceph2Hostnameceph2UserrootStrictHostKeyCheckingnoHostceph3Hostnameceph3UserrootStrictHostKeyCheckin..
分类:
其他好文 时间:
2014-07-20 23:16:24
阅读次数:
287
1、生成本地服务器ssh私钥,如已存在,可忽略。$ssh-keygen-trsa
Generatingpublic/privatersakeypair.
Enterfileinwhichtosavethekey(/root/.ssh/id_rsa):一路回车,会在本地家目录~/.ssh/生成密钥文件,检查如果存在,则可忽略。(更多ssh-keygen使用帮助,见ssh-keygen-h)..
分类:
系统相关 时间:
2014-07-20 10:17:37
阅读次数:
316
Hydro Tec v5.1.0.2 Incl KeyGen(德语软件)圆方家具设计系统6.8MagiCAD2010 2010.11中文版全功能支持32位64位+送3G教学Flotherm v9.1v9.3支持32位64位 送海量学习资料资料Geosoft.Oasis.Montaj.v7.5.1Ge...
分类:
其他好文 时间:
2014-07-19 16:02:40
阅读次数:
313
1、ssh无密码验证登录ssh-keygen-trsa##一路回车执行结果在/root/.ssh/目录下生成id_rsa.pub(公钥)和id_rsa(私钥)mvid_rsa.pubauthorized_keysscpauthorized_keys10.130.24.167:/root/.ssh/##第一次需要密码传送chmod660id_rsa上述执行完毕,实现目标2、rpm数据源重建tarzc..
分类:
其他好文 时间:
2014-07-19 02:21:15
阅读次数:
460
在本机上装的CentOS 5.5 虚拟机, 软件准备:jdk 1.6 U26 hadoop:hadoop-0.20.203.tar.gzssh检查配置Linux代码 [root@localhost~]#ssh-keygen-trsaGeneratingpublic/privatersakeypair...
分类:
其他好文 时间:
2014-07-17 21:39:54
阅读次数:
551