git使用ssh连接服务器

git如何连接服务器呢?

$ ssh -p 22 root@服务器ip

解释:ssh -p 端口号 登录的用户名@IP

原文地址:https://www.cnblogs.com/zhenzi0322/p/11641782.html