0

ipad 下的终端工具 iSH

 1 year ago
source link: https://blog.kelu.org/tech/2023/06/07/ipad-ish.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

ipad 下的终端工具 iSH

2023-06-07     tech mac iOS
iOS.svg

iOS 上我一直在用 prompt 作为 ssh 登录的工具。但直到我最近使用 Neovim 时候,才意识到它的问题——页面会定时的出现一个 q 字符。非常影响使用体验。

上网搜索了一番,发现了这个不错的命令行工具:https://github.com/ish-app/ish 官网:https://ish.app

根据官方的介绍,iSH是一个x86模拟器,在iOS设备上本地运行Linux shell环境。

image-20230614午後43018693

这篇文章简单记录它安装 ssh 工具的经过,作为一个终端,竟然没有自带 ssh 工具,这是我始料未及的。

  1. https://apps.apple.com/us/app/ish-shell/id1436902243

  2. 先查一下操作系统信息:

    cat /etc/issue
    cat /etc/os-release
    
    IMG_5D6D89A97ABC-1

    可以看到运行的是 alpine 系统,alpine 是一个非常精简的 linux 系统。

  3. 在 alpine 上安装 openssh

    alpine 的源管理工具是 apk,可以使用 apk 进行软件安装:

    apk update
    apk search openssh
    apk add openssh
    
    IMG_2B0E88FFB193-1
  4. 非常完美。

    IMG_6534
  5. 可以参考这篇文章操作:neovim 安装使用备忘


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK