如题
- 我是用了默认的 iSH 中 root 账户;
- 把 root 账户的 rsa.pub 已经添加到 Github (/etc/ssh/ssh_host_rsa_key.pub + ~/.ssh/id_rsa.pub
- iSH 挂载了文件夹 Obsidian/note
iSH 同步出错
shanzhaiguo:/mnt/note# git clone [email protected]:miloweimo/note.git .
Cloning into '.'...
/bin/ash: exec: line 1: connect: not found
banner exchange: Connection to UNKNOWN port 65535: Broken pipe
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
想给 ssh 代理,我的~/.ssh/config
Host github.com *.github.com
User git
Port 22
# IdentityFile "~/.ssh/id_rsa"
IdentityFile "/etc/ssh/ssh_host_rsa_key"
# ProxyCommand socat - PROXY:127.0.0.1:%h:%p,proxyport=1082
ProxyCommand connect -H 127.0.0.1:1082 %h %p
这里我想挂上 ssr ,好像没生效?
PS. 使用 Working Copy 可以 fetch 到文件。。
请教大佬,想有哪里需要排查吗?感激不尽!🙏