ish shell以前在安卓智能手机上通过termux部署安装Linux shell。 因为家里有空闲的iphone,所以我想iphone也能运行shell吗? 最后,Ish外壳APP
如果大家感兴趣的话请试试。
另一方面,安装在苹果的app store上,直接搜索ish shell的安装即可。
二、修改镜像源修改/etc/apk/repositories文件
vi /etc/apk/repositories在最上面中添加这两行。
# Alibaba云源https://mirrors.a liyun.com/alpine/v 3.11/main https://mirrors.a liyun.com/alpine/v 3.11/在中科大源3359 mirrors main https://mirrors.ustc.edu.cn/alpine/v 3.11/community #两行中,注意v之后的版本号,并对应于原始文件的版本号保存退出并使用apk update命令更新列表
sed置换
sed-I ' s/dl-cdn.alpine Linux.org/mirrors.tuna.Tsinghua.edu.cn/g '/etc/apk/repositories之三,sh serverver
$ apkaddopenssh-installthesshtoolsandthesshserver.$ ssh-keygen-a-createthehostkeys.$ passwd-setapasswordforrorottotind etc/ssh/sshd _ config $/usr/sbin/sshdyoushouldnowbeabletosshtoyourdeviceweb
SSH from the same device
ifyouaretryingtoconnectviasshfromthesamedevice,makesureyousettheportconfigurationofsshdtouseanonstandardone (grethar than 10220 )
youcandothisbyediting/etc/ssh/sshd _ configandsetport 22000 (更新22000 withanynon-standard port )。
After this,youcanssh(fromishItself ) using ssh root@localhost -p 22000
四.终端后台运行命令$ cat /dev/location /dev/null
github地址: https://github.com/ish-app。