Some Scripts
来源:互联网 发布:知乎怎样回答问题 编辑:程序博客网 时间:2024/06/05 11:32
- 登录服务器BeiJing
#!/bin/baship="x.x.x.x"ssh -i ~/.ssh/xxxx_id_rsa xxx@$ip
- 登录another method
#!/usr/bin/expect -fspawn ssh -p xxxx(digital) -i ~/.ssh/xxx.key xxx@x.x.x.xexpect "xxx@xxx:~$"send "su - xxx\n"expect "Password:"send "xxxxx\n"expect "id_rsa"send "xxxx\n"interact
- 传输包到服务器脚本,带证书
xxx$ cat xxx.sh#!/bin/bashscp -i ~/.ssh/xx_id_rsa ~/IdeaProjects/xxx/xxx/target/xx-xx.jar xx@xx-xx-xx:/xxx/xx/xx/xx-xx/xxx
阅读全文
0 0
- Some Scripts
- [Javascript] Some functions for loading related scripts
- Fool's Scripts for Some Debugging
- 2. Some scripts of the turtlebot(python)
- SCRIPTS
- scripts
- scripts
- centos 7.4 /etc/sysconfig/network-scripts/ifup-eth: Error, some other host already uses address
- some
- some
- some
- some
- some
- Some
- some
- There are inconsistent line endings in the 'Assets/Scripts/Test.cs' script. Some are Mac OS X (UNIX)
- WINHEX Scripts
- shell scripts
- 记一次数据库死锁追踪过程
- ES6 let const
- C语言的static--理解
- http2相关协议详解(express中开启http2流程)
- 实验七:将menu设计为可重用的子系统
- Some Scripts
- MRPT地址
- Lua 协同程序(coroutine)
- Linux笔记记录5 写时拷贝
- 停课总结(十)
- 机器学习----正负样本不匹配
- 【NOIP2017提高A组冲刺11.4】Pacifist
- Python之检测文件的字符编码(chardet)
- 最长公共子序列