ssh:建立与远程服务器的安全连接
#安装
sudo apt install openssh-server
#检查 SSH 服务是否正在运行
sudo systemctl status ssh//如果服务正在运行,会看到 active的输出
#开启远程
ssh remote_username@hostname
#remote_username是登录远程服务器的用户名,hostname是远程服务器的主机名或IP地址
在同一局域网内通过ssh远程登陆不会耗费流量
scp:在本地计算机和远程服务器之间复制文件
#将本地文件复制到远程服务器
scp local_file username@ip:remote_location
#将远程服务器上的文件复制到本地计算机
scp username@ip:remote_file local_location
#拷贝目录
scp -r username@ip:remote_file local_location
FTP:https://blog.csdn.net/m0_74381444/article/details/136761569
xshell安装及使用
官网下载:https://www.xshell.com/zh/free-for-home-school/
参考链接