一、取消右键复制
Settings → Terminal features → Paste using right-click
去掉前面 √
二、MobaXterm在启动时,未执行bashrc
登陆执行的文件(.bash_profile
)和ssh执行的文件不同(.bashrc
);在.bash_profile
文件中添加以下行:
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
三、MobaXterm在电脑锁屏时候,断开ssh
设置电脑不休眠
四、MobaXterm 搜索日志时候,使用英文输入搜索,不支持中文
五、mobaxterm跳板机登陆
MobaXterm建立有跳板机/堡垒机的SSH session(会话)
六、破解seesion个数14个限制
七、保持会话连接
八、远程桌面到ubuntu
ubuntu上安装程序,链接 session → RDP
sudo apt update
sudo apt install xrdp
sudo systemctl enable xrdp
sudo systemctl start xrdp
sudo ufw allow 3389
九、键盘输入中文到mobaxterm就变成"?"
解决办法链接:
https://blog.csdn.net/weixin_43046729/article/details/108601520
十、mobaxterm发现sftp非常卡,偶发性失败。并且通过命令行发现错误
scp user@ip:output_mask.raw ./
scp: Received message too long 1531530822
scp: Ensure the remote shell produces no output for non-interactive sessions.
一般是.bashrc、.bash_profile、.profile 等文件中存在 echo、printf、ls、clear、fortune 等命令,这些会在登录时输出文本,即使是非交互式会话(如 scp)也会触发;去掉这些打印