当前位置:网站首页>ssh/scp 使不提示 All activities are monitored and reported.
ssh/scp 使不提示 All activities are monitored and reported.
2022-07-02 12:13:00 【六位元素】
目录
场景
当使用 ssh 远程执行目标端命令后,提示如下内容,非常不友好,怎么办?
All activities are monitored and reported.
问题分析
通过该提示信息可以知道,其实这不算报错信息,是一种命令执行后的通信输出内容,虽然看上去不友好。
思考问题
解决问题非常简单,关键是我们要学会如何解决问题,这里强调这个“如何”。我们要由问题引发思考,深层思考其实比解决方法更重要。
1.看输出内容
看多了,猜也能猜个八九不离十
2.判断信息
看看是问题报错还是一般提示
3.查手册
尽量不要一上来就各种搜索,其实手册最权威,顺便提高英文水平,何乐而不为呢?
4.找解决方法
其实手册中是包含了大多数所能遇到的各种问题的,耐心点,总能找到的
5.实在找不到怎么办
这时候再各种搜索也来得及
解决方法
1.打开手册
[[email protected] ~]# man ssh
2.耐心查手册
手册中可以看到这么一句话
-q Quiet mode. Causes most warning and diagnostic messages to be suppressed.
因为这个输出内容不是报错,不让它显示不就行了
3.问题解决
加一个 -q 参数,静默执行,不输出提示信息
[[email protected] ~]# ssh -q ......
4.再次执行,不再提示 “All activities are monitored and reported.”
其他
类似的 scp 命令,也会出现同样的问题,使用上述同样的方法解决即可。
边栏推荐
- [leetcode] 577 reverse word III in string
- Force deduction solution summary 2029 stone game IX
- 4. Data splitting of Flink real-time project
- 02.面向容器化后,必须面对golang
- 【网络安全】网络资产收集
- For the problem that Folium map cannot be displayed, the temporary solution is as follows
- LeetCode_ String_ Simple_ 412.Fizz Buzz
- [leetcode] 283 move zero
- Name of institution approved in advance
- [leetcode] 695 - maximum area of the island
猜你喜欢
搭建自己的语义分割平台deeplabV3+
【LeetCode】1905-统计子岛屿
2022 年辽宁省大学生数学建模A、B、C题(相关论文及模型程序代码网盘下载)
I made an istio workshop. This is the first introduction
[development environment] install the Chinese language pack for the 2013 version of visual studio community (install test agents 2013 | install visual studio 2013 simplified Chinese)
Leetcode skimming -- sum of two integers 371 medium
【网络安全】网络资产收集
Semantic segmentation learning notes (1)
NBA player analysis
Bing. Site Internet
随机推荐
6.12 企业内部upp平台(Unified Process Platform)的关键一刻
JVM architecture, classloader, parental delegation mechanism
Folium, diagnosis and close contact trajectory above
MD5加密
Leetcode skimming -- incremental ternary subsequence 334 medium
夏季高考文化成绩一分一段表
Force deduction solution summary 2029 stone game IX
[network security] network asset collection
损失函数与正负样本分配:YOLO系列
【LeetCode】1020-飞地的数量
19_ Redis_ Manually configure the host after downtime
语义分割学习笔记(一)
04.进入云原生后的企业级应用构建的一些思考
2303. Calculate the total tax payable
02.面向容器化后,必须面对golang
LeetCode刷题——验证二叉树的前序序列化#331#Medium
[leetcode] 577 reverse word III in string
Leetcode question brushing - parity linked list 328 medium
10_ Redis_ geospatial_ command
(Video + graphic) machine learning introduction series - Chapter 5 machine learning practice