Android的:如何远程登录的电话? [英] Android: how to telnet a phone?

查看:184
本文介绍了Android的:如何远程登录的电话?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道这是否是可能的远程登录的Andr​​oid手机通过USB连接某个端口上。我已经看到了,如果我telnet本地主机:5556,我去到模拟器。

I want to know if it's possible to telnet on a certain port of an Android phone connected via USB. I've seen that if I telnet localhost:5556, I go to the emulator.

我可以做同样的事情,当我连接的物理设备?哪些命令可以处理?

Could I do something similar when I connect a physical device? Which commands could be handled?

推荐答案

嗯,亚行外壳是连接到终端的方式。实际上,你可以的telnet 到你想要的设备上的任何端口,也只是需要一个应用程序监听端口。我不相信这些设备提供相同的功能模拟器做,因为这将允许恶意用户做了一些事情。另外,设置在远程登录与仿真器的功能的目的是提供开发功能,以克服不被物理设备(端口转发,等等)上的限制。我不知道什么样的目标是什么,但如果你想,你可以创建一个支持Telnet和其绑定到特定端口的设备上的应用程序。

Well, adb shell is the way to connect to the terminal. You can actually telnet to any port you want on the device, there just needs to be an application listening to that port. I don't believe the devices provide the same functionality the emulators do as that would allow malicious users to do a number of things. Also, the functionality provided over telnet with the emulators is designed to provide development functionality to overcome the limitation of not being on a physical device (port forwarding, etc). I'm not sure what the goal is, but you could create an application that supported telnet and bound to a specific port on the device if you wanted to.

这篇关于Android的:如何远程登录的电话?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆