sed -i 's/#UseLogin no/UseLogin yes/g' /etc/ssh/sshd_configservice sshd restart
重新登录后查看效果:
ulimit -n ulimit -a
参考:
https://wiki.deepin.io/mediawiki/index.php?title=%E6%9C%8D%E5%8A%A1%E5%99%A8%E4%BF%AE%E6%94%B9ulimit%E5%80%BC%E4%B8%8D%E7%94%9F%E6%95%88%E7%9A%84%E8%A7%A3%E5%86%B3%E6%96%B9%E6%B3%95