how to upload files to CentOS 7 on macOS by using zsh
how to upload files to CentOS 7 on macOS by using zsh
FTP & SFTP
SFTP 端口
SFTP 端口 22
SSH 端口 20
HTTP 端口 80
HTTPS 端口 443
Simple_File_Transfer_Protocol
https://en.wikipedia.org/wiki/File_Transfer_Protocol#Simple_File_Transfer_Protocol
SSH_File_Transfer_Protocol
https://en.wikipedia.org/wiki/SSH_File_Transfer_Protocol
https://en.wikipedia.org/wiki/File_Transfer_Protocol#FTP_over_SSH
SFTP
$ ssh root@your_server_ip_or_remote_hostname
$ exit
$ sftp root@your_server_ip_or_remote_hostname
# If you are working on a custom SSH port (not the default port 22), then you can open an SFTP session as follows:
$ sftp -oPort=custom_port root@your_server_ip_or_remote_hostname
# download file
sftp> $ get remoteFile
# upload file
sftp> $ put localFile
set up SSH keys
https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys-on-ubuntu-20-04
FileZilla
GUI & FTP
https://filezilla-project.org/
CentOS 7 & vim bug
从 vscode 复制代码,粘贴保存后,vim 会自动添加注释
zsh & macOS 拖拽 copy file ???
❌ 不好使,只能复制一个文件路径
refs
# 22 默认 TCP
$ sftp -P 22 aisftp@10.124.163.133
# $ sftp -P 21 aisftp@10.124.163.133
https://www.cnblogs.com/chuanzhang053/p/8875759.html
https://askubuntu.com/questions/264046/how-to-ssh-on-a-port-other-than-22
https://serverfault.com/questions/74176/what-port-does-sftp-use
©xgqfrms 2012-2020
www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!
原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/14660653.html
未经授权禁止转载,违者必究!
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· .NET10 - 预览版1新功能体验(一)
2020-04-15 软件考试 2020
2020-04-15 window.URL.createObjectURL bug All In One
2020-04-15 taro 小程序 & touch event 转换 bug
2020-04-15 云真机
2020-04-15 Rust learning notes All In One
2020-04-15 H5 下拉刷新、加载更多
2019-04-15 table index & delete array item