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

 

posted @ 2018-08-20 18:04  曲高终和寡  阅读(2225)  评论(0编辑  收藏  举报