git从一台电脑的本地分支clone
程序员文章站
2022-07-15 11:38:01
...
git clone root@192.168.1.1:/var/www/fuckyou
如果提示:
ssh: connect to host 192.168.1.151 port 22: Connection refused
则要开启目标机器的openssh server
sudo apt-get install openssh-server
然后ps -ef | grep sshd
如果启动了就ok了
推荐阅读