在 Ubuntu 上使用 FileZilla 传输文件(上传/下载)一般有以下几种常见方式,下面按“安装 → 连接 → 传文件”一步一步说明。
sudo apt update
sudo apt install filezilla
sudo snap install filezilla
安装完成后,在菜单中搜索 FileZilla 即可打开。
顶部有 主机 / 用户名 / 密码 / 端口 输入框。
常见情况:
sftp://服务器IP 或 服务器域名root 或 ubuntu)22示例:
主机:sftp://192.168.1.100
用户名:ubuntu
密码:******
端口:22
点击 “快速连接”
FileZilla 界面分四块:
FileZilla 默认用密码:
.pem)sudo 或上传到有权限的目录(如 /home/用户名)如果不想用 GUI:
scp 本地文件 用户名@IP:远程路径
示例:
scp test.txt ubuntu@192.168.1.100:/home/ubuntu/
如果你愿意,可以告诉我:
我可以给你更精确的步骤。