# 添加SSH KEY到内存
pywugw@pywugw-laptop:~/Works$ cat addkey
#!/bin/bash
ssh-add /home/pywugw/Works/ssh-key
|
# 编写登录脚本 (luit是设置编码 -A参数是使用key跳转)
pywugw@pywugw-laptop:~/Works$ cat gocnc
#!/bin/bash
luit -encoding gbk ssh -A pywugw@xxx.xxx.xxx.xxx -p 22
|
阅读(1421) | 评论(0) | 转发(0) |