问题描述
我需要使用MobaXterm从安装在远程UNIX机器上的Windows xP机器上运行程序,但是我对这种事情的经验很少.
I need to run a program from my windows xP machine thats installed on a remote UNIX machine using MobaXterm but I have very little experience with this sort of thing.
我可以使用ssh登录到计算机并启动程序,而不会出现问题.该程序需要我Windows计算机上要处理的文件,但我想将它们复制到该远程计算机上.不幸的是,mobaxterm帮助网站上经常提到的拖放式文件传输面板不存在,而且我不知道该如何显示.
I can login into the machine using ssh and start the program without a problem. That program needs files that I have on my windows computer to process though and I want to copy them over to that remote machine. Unfortunately the drag-and-drop file transfer panel that is mentioned regularly on mobaxterm help sites isn't present and I can't figure out how to make it appear.
有人可以建议如何使该拖放面板出现吗?我正在使用MobaXterm 3.0版.
Could someone suggest how to get that drag-and-drop panel to appear please? I'm using MobaXterm version 3.0.
另外,对于如何以其他方式传输这些文件的任何解释也将不胜感激.
Alternatively any explanation on how to transfer these files another way would also be very much appreciated.
非常感谢您能提供的任何帮助.
Thank you very much for any help you can give.
推荐答案
默认情况下,某些Linux发行版或其他Unix系统已禁用SSH密码身份验证.
Some Linux distributions or some other Unix systems have disabled SSH password authentication by default.
为了使MobaXterm能够启动SFTP浏览器,您将必须重新启用此功能:
In order for MobaXterm to be able to launch the SFTP browser, you will have to re-enable this feature:
- 在服务器上编辑"/etc/ssh/sshd_config"文件,并注释以下行:密码验证否
- 使用以下命令重新启动SSH服务器:/etc/init.d/sshd restart
- 使用MobaXterm SSH客户端进行连接,您会注意到SFTP选项卡将被正确启动.
- Edit the "/etc/ssh/sshd_config" file on your server, and comment the following line:PasswordAuthentication no
- Restart your SSH server using the following command: /etc/init.d/sshd restart
- Connect using MobaXterm SSH client and you will notice that the SFTP tab will be correctly launched.
如果无法修改远程服务器配置,则还可以使用SCP在MobaXterm终端内执行文件传输.一个示例SCP命令将是:
If you can not modify your remote server configuration, you can also perform your file transfers inside MobaXterm terminal using SCP. A sample SCP command would be:
scp -r /drives/c/Some/Place/On/Your/Local/Windows/Drive/ yourlogin@yourserver:/Some/Place/On/Your/Remote/Unix/Server/
这篇关于缺少MobaXterm拖放面板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!