--保持SSH连接的linux服务器不断线
客户端
SecureCRT 会话选项 -> 终端设置中勾选“发送协议 NO-OP”
putty Connection -> Seconds between keepalives ( 0 to turn off ), 默认为0,改为60。
ssh -o serveraliveinterval=60 username@host
服务端
vi /etc/ssh/sshd_config
添加 ClientAliveInterval 60
--不停服务清空nohup.out
第一种:cp /dev/null nohup.out
第二种:cat /dev/null > nohup.out
--右键添加打开命令行快捷键
1.regedit 打开注册表,定位到[HKEY_CLASSESS_ROOT\Folder\shell]项
2.添加Open cmd here子项,在Open cmd here下面添加command子项
3.修改command默认值为 C:\windows\system32\cmd.exe cd "%1"