日志查看

 

 

1)跳板机:cd Desktop/guoxinran                Users/admin/Desktop/guoxinran

ssh guoxinran@login.weiyankeji.cn -i guoxinran.pem -p54321

ssh密钥文件密码: aHXT52rbNuv5_Uso

 

输入p

进入113.214

 

2)请求日志:

/wwwroot/open_platform_8002/storage/logs/bhxt-2018-08-29.log

 

3)回调日志:

/wwwroot/open_platform_8002/storage/logs/notify-2018-08-29.log

 

 

4)grep "1034745528775987200" bhxt-2018-08-29.log

 

      tail -f laravel-2018-06-20.log     

 

      ****control+c  退出tail命令

 

 

 

 

 

 

cp ~/Desktop/guoxinran/guoxinran.pem ./

 

openssl rsa -in ~/.ssh/guoxinran.pem -out ~/.ssh/guoxinran_new.pem

 

hmod 600 guoxinran_new.pem

 

 

 

posted on 2019-10-11 11:20  短腿儿  阅读(284)  评论(0)    收藏  举报