Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jitcor committed Sep 21, 2024
1 parent ba5fa0e commit df4e27d
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions termux/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,34 @@ Host 127.0.0.1
# scp
```
scp xxx.file [email protected]:~/
```

# vscode
```
# 安装虚拟root
pkg install proot-distro
# 安装debian
proot-distro install debian
# 登录debian
proot-distro login debian
# 更新软件
apt update
# 安装openssh
apt install -y openssh-server
# 修改/etc/ssh/sshd_config文件里Port端口
#Port 22
Port 9022
/etc/init.d/ssh restart
# 客户端配置
# 文件:~/.ssh/config
Host 127.0.0.1
HostName 127.0.0.1
User root
Port 9022
IdentityFile C:\Users\shlu\.ssh\id_rsa
# vscode连接
ssh -p 9022 127.0.0.1
```
# 自行编译包
https://github.com/termux/termux-packages/wiki/Build-environment
Expand Down

0 comments on commit df4e27d

Please sign in to comment.