日志查看

日志查看

 

 

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

ssh [email protected] -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

 

 

 

猜你喜欢

转载自www.cnblogs.com/tangdou-tangguo/p/11653039.html