Mac连接非22端口linux服务器

Mac连接非22端口linux服务器

原文链接:https://www.cnblogs.com/blog5277/p/9507080.html

原文作者:博客园--曲高终和寡

1:ssh连接

打开终端,输入(这里p是小写):

ssh -p 端口号 用户@ip

2:sftp传文件

打开终端,输入(这里P是大写):

sftp -P 端口号 用户@ip
原文地址:https://www.cnblogs.com/blog5277/p/9507080.html