会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
seraph
Only dead fish go with the flow!
博客园
首页
新随笔
联系
管理
上一页
1
2
3
4
5
6
7
···
10
下一页
2014年4月23日
sshd_config 配置文件
摘要: Ssh-server 服务端sshd_concfigPort 22Protocol 2HostKey /etc/ssh/ssh_host_rsa_keyHostKey /etc/ssh/ssh_host_dsa_keyHostKey /etc/ssh/ssh_host_ecdsa_keyUsePri...
阅读全文
posted @ 2014-04-23 01:52 osxlinux
阅读(793)
评论(0)
推荐(0)
2014年4月22日
随笔
摘要: #!/bin/bashtft_conf="/etc/xinetd.d/tftp"backup_dir="/network/sw_backup"if [ -d {backup_dir} ]thenecho "$backup_dir has been exist! "elsemkdir -pv $bac...
阅读全文
posted @ 2014-04-22 01:45 osxlinux
阅读(147)
评论(0)
推荐(0)
2014年1月15日
ssh互信自动化脚本(待更新)
摘要: 1.建立一个ip,端口,用户,密码列表[root@localhost shell-key]# cat arg_list.txt 172.16.56.237 clouds root 22 172.16.56.215172.16.56.53 clouds root 22 172.16.56.215172.16.56.215 clouds root 22 172.16.56.215[root@localhost shell-key]# 2.建立expect交互交脚本:[root@localhost shell-key]# cat expect_run_config.exp #!/usr/bin...
阅读全文
posted @ 2014-01-15 16:23 osxlinux
阅读(538)
评论(0)
推荐(0)
2014年1月13日
expect远程登陆hw交换机--测试通过1
摘要: #!/bin/bash#connect_the_hw_switch#by osx1260@163.com swip=172.16.56.2swport=2081swpasswd='yourswpasswd'swusername=yourswusernametime=$(date +"%F")echo ".............please wating 9s............"echo ".............This is $time..............."/usr/bin/expect -c &
阅读全文
posted @ 2014-01-13 17:17 osxlinux
阅读(443)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
10
下一页
公告