跳板机避免重复密码
2015-07-17 14:21
330 查看
.>ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/ecwuliu/.ssh/id_rsa):
>scp ~/.ssh/id_rsa.pub root@10.175.183.246:/root/.ssh/authorized_keys
root@10.175.183.246's password:
id_rsa.pub 100% |********
>ssh root@10.175.183.246
Generating public/private rsa key pair.
Enter file in which to save the key (/home/ecwuliu/.ssh/id_rsa):
>scp ~/.ssh/id_rsa.pub root@10.175.183.246:/root/.ssh/authorized_keys
root@10.175.183.246's password:
id_rsa.pub 100% |********
>ssh root@10.175.183.246
相关文章推荐
- 文件逐行读取逐行写入
- GDB调试多进程
- awk多分隔符
- EL表达式无效
- How to Customize Common Open File Dialog Box Places Bar in Windows
- 迭代器和iter()函数
- 有图有真相!弱爆了!戳进来看!
- ASP.NET MVC程序中动态修改form的Action值
- hiho一下 连通性·三 强连通分量
- spring ioc原理
- MySQL安装与测试
- 数据库级别触发器
- Android Studio中使用android:src="@drawable/ic_launcher"报错
- BZOJ 2073: [POI2004]PRZ( 状压dp )
- 问题-delphi在某电脑(win7)上是界面超乱 DPL
- webrtc编译之libcommonaudio
- php -- 魔术方法 之 判断属性是否存在或为空:__isset()
- phototype
- Python做矩阵运算
- git-everything-is-cool阅读笔记