windows MobaXterm 拖放面板丢失

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/14893512/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-09 10:16:28  来源:igfitidea点击:

MobaXterm drag-and-drop panel missing

windowsunixremote-accessfile-transfer

提问by fizzics

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.

我需要使用 MobaXterm 从安装在远程 UNIX 机器上的 Windows xP 机器上运行一个程序,但我对此类事情的经验很少。

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.

我可以使用 ssh 登录机器并毫无问题地启动程序。该程序需要我在 Windows 计算机上处​​理的文件,但我想将它们复制到该远程机器上。不幸的是,mobaxterm 帮助站点上经常提到的拖放文件传输面板不存在,我不知道如何让它出现。

Could someone suggest how to get that drag-and-drop panel to appear please? I'm using MobaXterm version 3.0.

有人可以建议如何让拖放面板出现吗?我正在使用 MobaXterm 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.

非常感谢您提供的任何帮助。

采纳答案by Didier

Some Linux distributions or some other Unix systems have disabled SSH password authentication by default.

默认情况下,某些 Linux 发行版或某些其他 Unix 系统已禁用 SSH 密码身份验证。

In order for MobaXterm to be able to launch the SFTP browser, you will have to re-enable this feature:

为了让 MobaXterm 能够启动 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.
  • 编辑服务器上的“/etc/ssh/sshd_config”文件,并注释以下行:PasswordAuthentication no
  • 使用以下命令重新启动 SSH 服务器:/etc/init.d/sshd restart
  • 使用 MobaXterm SSH 客户端连接,您会注意到 SFTP 选项卡将正确启动。

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 在 MobaXterm 终端内执行文件传输。一个示例 SCP 命令将是:

scp -r /drives/c/Some/Place/On/Your/Local/Windows/Drive/ yourlogin@yourserver:/Some/Place/On/Your/Remote/Unix/Server/

回答by Nicolas

Ensure you have "Display SFTP Browser" enabled in your session settings under "Advanced SSH settings".

确保在“高级 SSH 设置”下的会话设置中启用了“显示 SFTP 浏览器”。

enter image description here

在此处输入图片说明

Occasionally it doesn't reappear, which is solved by a restart MobaXterm.

偶尔不会再出现,可以通过重启MobaXterm解决。

回答by GnomeDePlume

Another cause for the lack of sftp panel is if you accidentally enter and store a bad sftp password. MobaXterm then appears to attempt an automatic log in, but silently fails to open the sftp connection.

缺少 sftp 面板的另一个原因是您不小心输入并存储了错误的 sftp 密码。MobaXterm 然后似乎尝试自动登录,但无法打开 sftp 连接。

To fix this, go to Settings>MobaXterm passwords management and delete the offending password. Here's a screenshot of the settings page, showing the password management link.

要解决此问题,请转到“设置”>“MobaXterm 密码管理”并删除有问题的密码。这是设置页面的屏幕截图,显示了密码管理链接。

enter image description here

在此处输入图片说明

To be clear, I had already run through the settings mentioned by @Nicolas and @Didier (thanks, guys!). I was able to get the sftp tab when ssh'ing in to other hosts (which didn't have bad passwords stored). And I had in the past seen the sftp pane. This fix solved my problem.

明确地说,我已经完成了@Nicolas 和@Didier 提到的设置(谢谢,伙计们!)。当通过 ssh 连接到其他主机(没有存储错误密码)时,我能够获得 sftp 选项卡。我过去曾看过 sftp 窗格。这个修复解决了我的问题。

If you've neverseen the sftp pane, then try the other suggestions first.

如果您从未见过 sftp 窗格,请先尝试其他建议。

回答by Alpha

If it still doesn't work when you try all of above methods, try this:

如果尝试上述所有方法后仍然不起作用,请尝试以下操作:

when you creat a Session, change the Advanced SSH setting-->SSH-browsertype to SCP, which default is SFTP. screenshot. thanks to willfurnass

创建会话时,将 Advanced SSH setting-->SSH-browsertype 更改为SCP,默认为 SFTP。 截图。感谢willfurnass

回答by mrk

Have you tried:

Turning the program off and on again?

你有没有尝试过:

关闭程序再打开?

Note: I read this hint in a comment, which saved me from a tidious process of unnecessary fixing mobaXterm, also I am hence not the only one with that behavior. Even though this might be the first thing you already tried, some might not have been trying and haven't been lucky enough to read through the comments - this is for them.

注意:我在评论中读到了这个提示,这使我免于不必要地修复 mobaXterm 的繁琐过程,因此我也不是唯一一个有这种行为的人。尽管这可能是您已经尝试过的第一件事,但有些人可能没有尝试过并且没有足够幸运地阅读评论——这是给他们的。