博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
ping vs telnet, what is the difference between them and when to use which?
阅读量:5951 次
发布时间:2019-06-19

本文共 1646 字,大约阅读时间需要 5 分钟。

Ping is an ICMP protocol. Basically any system with TCP/IP could respond to ICMP calls if they were not blocked by a firewall or similar filtering mechanism.

Telnet is a remote terminal server application. It must be enabled through system configuration and the server must be up for it to respond.

Ping command sends an ICMP request for reply to a computer and the computers returns the request (ping reply) this is displayed by the ping command along with some statistical information such as how long it did take for a packet to respond. While it is a helpful tool to diagnose problems in intranet it is blocked by most firewalls for security purposes.

Telnet on the other hand a remote access server in that it asks the connecting user authentication data and shell access is granted if the user has a valid account on the target system. UNIX systems and most smart network devices support telnet. But telnet is a very old protocol and it sends usernames and passwords over network in clear text format so it is open to eavesdropping and considered very unsecure.

Nowadays it comes disabled by default for many Unix systems. Most system administrators use SSH (Secure Shell) instead of Telnet. One of the main advantages of SSH over Telnet is all the communication is encrypted and sensitive user data travels encrypted over internet so it is not possible to extract these credentials easily.

Both ping and telnet could be used for diagnosing network problems. Ping simply gets a response and it is what it can do. While it is possible to monitor the output from a given port using telnet.

转载于:https://www.cnblogs.com/makesense/p/9994999.html

你可能感兴趣的文章
每日一个机器学习算法——机器学习实践
查看>>
graphite+grafana 修改指标存放时间后重启失败
查看>>
pip 安装三方库报超时
查看>>
Demo——为指定的文件加入行号
查看>>
easyUI Uncaught TypeError: Cannot read property 'length' of undefined
查看>>
学习笔记之DOS & BAT
查看>>
NG机器学习笔记3
查看>>
C语言第四次作业
查看>>
Java学习-集合的理解
查看>>
iOS验证码倒计时(GCD实现)
查看>>
iOS中的过滤器和正则表达式(NSPredicate,NSRegularExpression)
查看>>
java ee 5周 ajax
查看>>
canvas和svg
查看>>
结对:复利美化版
查看>>
HDU_2689_Sort it
查看>>
urllib模块使用笔记
查看>>
mysql 连接慢的问题(超过了1秒)
查看>>
1297. [SCOI2009]迷路【矩阵乘法】
查看>>
Linux嵌入式GDB调试环境搭建
查看>>
安全性测试要点转摘
查看>>