随笔分类 - Linux
摘要:1. vim /etc/ssh/ssh_config 添加: ServerAliveInterval 50 ServerAliveCountMax 3 2. vim /etc/ssh/sshd_config 添加: ClientAliveInterval 50 ClientAliveCountMax
阅读全文
摘要:nohup能通过ssh使程序在后台执行,即使关闭客户端也能在服务器运行。 nohup command & 其中&就是后台执行的意思。 例1: nohup matlab -nosplash -nodesktop < matlabscript.m 1>running.log 2>running.err
阅读全文

浙公网安备 33010602011771号