在 Linux 下使用 SecureCRT 进行“录屏操作”,通常有两种理解,下面分别说明:
SecureCRT 没有真正的视频录屏功能,但可以记录终端所有输入输出(文字版“录屏”)。
Options → Session Options → Log File
/home/user/secrtc_log/%S_%Y%M%D.log
✅ 效果:你所有敲的命令、服务器返回的内容都会被完整保存
❌ 不是视频,是文本日志
如果你想 录 SecureCRT 窗口操作的视频:
Ctrl + Alt + Shift + R
~/Videos/
OBS Studio(强烈推荐)sudo apt install obs-studio
然后:
如果你只是想记录操作过程,不一定要视频:
script 命令(Linux 原生)script -t 2> time.log -a ops.log
结束录屏:
exit
回放:
scriptreplay time.log ops.log
asciinema(终端录像,超轻)sudo apt install asciinema
asciinema rec demo.cast
exit
播放:
asciinema play demo.cast
| 需求 | 推荐方式 |
|---|---|
| 记录命令和输出 | SecureCRT 日志 / script |
| 录 SecureCRT 窗口视频 | OBS / 系统录屏 |
| 分享操作过程 | asciinema |
如果你是 用于审计 / 教学 / 故障复现,可以告诉我具体场景,我可以给你更合适的方案。