git使用ssh连接服务器或者虚拟机

197 阅读1分钟
$ ssh -p 22 root@服务器ip
 
解释: -p 服务器端口号  用户名 @ 服务器ip