MobaXterm使用


 

配置文件:https://blog.mobatek.net/post/mobaxterm-configuration-settings/

 配置文件ini位置:

How to locate my MobaXterm configuration file?

Well, it depends… Your MobaXterm.ini configuration file should be located:

  • in the same folder as MobaXterm executable if you are using MobaXterm Portable Edition
  • in %MyDocuments%\MobaXterm folder if you are using MobaXterm Installer Edition
  • in %MyDocuments%\MobaXterm folder if you are using MobaXterm Portable Edition and if you only have read access to the folder where the executable is

 

windows安裝版位置:C:\Users\xxx\Documents\MobaXterm下面。

 

ssh keepalived:

 

 

 隱藏菜單欄下的那排按鈕

菜單欄下的那排按鈕感覺有點雞肋,全部可以從菜單欄里找到,而且使用頻率也不是非常高。況且,大部分屏幕是長方形的,上下空間有限,左右還比較富余一些,因此去掉它可以省下很大空間。

 

在菜單欄點擊 「view」 --> 「show menu bar」,即可隱藏此排按鈕。

 

 

右鍵粘貼

在Moba及很多終端工具里,都有這樣的功能:鼠標左鍵划選復制文件,右鍵粘貼文本。但在Moba中右鍵粘貼功能默認不打開,我們可以手動打開。

在菜單欄點擊 「settings」 --> 「Configuration」,在彈出的對話框中選擇 「terminal」,再將 「paste using right-click」 打上對勾即可。

 

 

 

修改鼠標滾輪行為:他默認的是滾輪滾動的是歷史命令

https://superuser.com/questions/1348991/mobaxterm-how-to-change-mouse-scroll-in-to-terminal-screen-scroll-up-down

This is not a default behaviour and cannot be configured using the UI / settings dialogue. You have to manually edit the ini-file.

  1. Close MobaXTerm, otherwise changes to the ini-file will be overwritten
  2. find the documents inside your user folder and got to the folder named MobaXterm
  3. open the file named MobaXterm.ini with a text editor
  4. look for the section called [Misc]
  5. in this section add a line like this:

    ScrollMod=alt 

Chosse a parameter that suits your needs: alt | ctrl | shift

  1. open MobXTerm again and scroll the window holding down the selected control key

see MobaXTerm-documentation here: https://blog.mobatek.net/post/mobaxterm-configuration-settings/

But heads up. This will probably still cause problems inside a screen session. You can fix this quick by pressing Ctrl + A and Esc or edit your .screenrc as described here:

 

按照上面說的,確實滾輪就是上下 滑動了。

  [Misc]下面這個值可以設置大一點

ScrollbackLines 360000 Specify scrollback buffer size

 

 


mobaxterm將終端輸出記錄到日志文件

 

新建會話->SSH->終端設置->勾選將終端輸出記錄到,選擇相應的文件夾即可

 

 

 

 然后重新開啟一個會話,就在你設置的目錄下面,會有日志產生了

 

 

 

Session 斷開連接后,可以很方便地再次連接 

經常會遇到打開一個Session窗口,如果長時間不操作或者網絡中途斷開,需要重新登錄遠程機器的場景。

 

 

此時不需要關閉窗口,重新打開一個。

MobaXterm提供了便捷方式:只需要 輸入R 即可重啟 Session.

 

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM