linux ssh - ssh简化连接
【基本介绍】
有些服务器经常连接,但是又需要频繁输入密码。这里介绍一些方便的方法。
【方法介绍】
1.shellaliases
在.bashrc里面添加相应的alias
2.~/.ssh/config
[root@deploy ~]# cat .ssh/config Host 10.xx.xx.xx IdentityFile ~/.ssh/dena_amazon_rsa [root@deploy ~]# ssh 10.xx.xx.xx Last login: Wed Dec 10 14:07:52 2014 from 10.xx.xx.xx [root@db16 ~]# exit
【参考引用】
http://nerderati.com/2011/03/17/simplify-your-life-with-an-ssh-config-file/
相关推荐
airfish000 2020-09-11
风语者 2020-09-02
lichuanlong00 2020-08-15
projava 2020-11-14
WanKaShing 2020-11-12
tryfind 2020-09-14
yegen00 2020-09-10
kkaazz 2020-09-03
BraveWangDev 2020-08-19
gsl 2020-08-15
pandaphinex 2020-08-09
yhuihon 2020-08-09
CheNorton 2020-08-02
xiangqiao 2020-07-28
hpujsj 2020-07-26
hpujsj 2020-07-26
sshong 2020-07-19
BraveWangDev 2020-07-19
annan 2020-07-18