xcode 在 iPhone 上实现 SSH 客户端

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/11316703/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 00:46:15  来源:igfitidea点击:

Implement a SSH client on iPhone

iosiphonexcodeterminal

提问by omarojo

Have anyone known of an open source project to implement SSH client on iPHone ? I actually need a terminal emulation to run a console application I have, I dont even need to get out of my sandbox. But Havent find any terminal emulation that doesnt infringe apple rules. (-MobileTerminal- just works on jailbroken, and does run my console app) and AFAIK its not possible to implement an Appstore valid version of it because of its forkpty() implementation.

有没有人知道在 iPHone 上实现 SSH 客户端的开源项目?我实际上需要一个终端仿真来运行我拥有的控制台应用程序,我什至不需要离开我的沙箱。但是还没有找到任何不违反苹果规则的终端仿真。(-MobileTerminal- 仅适用于越狱,并运行我的控制台应用程序)并且 AFAIK 由于其 forkpty() 实现而无法实现它的 Appstore 有效版本。

still I see lots of SSH clients (terminal like) on the AppStore that send a recieve data. So there has to be a way to emulate a terminal/console thing on iPhone... thats what I need, but I see no one giving out some source code.

我仍然在 AppStore 上看到许多发送接收数据的 SSH 客户端(类似终端)。所以必须有一种方法可以在 iPhone 上模拟终端/控制台的东西......这就是我需要的,但我看没有人给出一些源代码。

回答by Matt S.

A quick google of mine shows this as a possible option: http://code.google.com/p/mobileterminal/

我的一个快速谷歌显示这是一个可能的选项:http: //code.google.com/p/mobileterminal/

It's in the Cydia store as well, and should give you general direction. If you want to look at the final implementation, I recommend Panic Software's Prompt - http://www.panic.com/prompt/support.html

它也在 Cydia 商店中,应该可以为您提供大致的方向。如果你想看看最终的实现,我推荐 Panic Software's Prompt - http://www.panic.com/prompt/support.html