在Debian文件管理中,可通过以下方法实现远程访问:
sudo apt-get install sshfs。然后创建本地挂载点,如mkdir ~/remote_directory。接着用sshfs user@remotehost:/path/to/remote/directory ~/remote_directory命令挂载远程目录,可通过-p选项指定SSH端口。若要永久挂载,可将挂载信息添加到/etc/fstab文件中。sudo apt-get install nfs-kernel-server,编辑/etc/exports文件添加共享目录,如/path/to/shared/directory remotehost(rw,sync,no_subtree_check),然后重启NFS服务sudo systemctl restart nfs-kernel-server。在远程主机上安装NFS客户端sudo apt-get install nfs-common,创建挂载点并挂载远程共享目录,如mkdir ~/nfs_mount,sudo mount remotehost:/path/to/shared/directory ~/nfs_mount。