随笔分类 -  Linux

摘要:1. vim /etc/ssh/ssh_config 添加: ServerAliveInterval 50 ServerAliveCountMax 3 2. vim /etc/ssh/sshd_config 添加: ClientAliveInterval 50 ClientAliveCountMax 阅读全文
posted @ 2020-05-22 15:15 MrFlint 阅读(1792) 评论(0) 推荐(0)
摘要:nohup能通过ssh使程序在后台执行,即使关闭客户端也能在服务器运行。 nohup command & 其中&就是后台执行的意思。 例1: nohup matlab -nosplash -nodesktop < matlabscript.m 1>running.log 2>running.err 阅读全文
posted @ 2020-04-18 13:58 MrFlint 阅读(1100) 评论(0) 推荐(0)