-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|