文件操作 - DEVELOPMENT.md
返回文件管理
返回主菜单
删除本文件
文件: /opt/puppetlabs/puppet/lib/ruby/gems/3.2.0/gems/net-ssh-7.2.3/DEVELOPMENT.md
编辑文件内容
### Development notes ## Building/running ssh server in debug mode clone the openssh server from `https://github.com/openssh/openssh-portable` ```sh brew install openssl /usr/local/Cellar/openssl@3/3.1.0/bin/openssl autoreconf ./configure --with-ssl-dir=/usr/local/Cellar/openssl@3/3.1.0/ --with-audit=debug --enable-debug CPPFLAGS="-DDEBUG -DPACKET_DEBUG" CFLAGS="-g -O0" make ``` To run server in debug mode: ```sh echo '#' > /tmp/sshd_config ssh-keygen -t rsa -f /tmp/ssh_host_rsa_key # /Users/boga/Work/OSS/NetSSH/openssh-portable/sshd -p 2222 -D -d -d -d -e -f /tmp/sshd_config /Users/boga/Work/OSS/NetSSH/openssh-portable/sshd -p 2222 -D -d -d -d -e -f /tmp/sshd_config -h /tmp/ssh_host_rsa_key ```
修改文件时间
将文件时间修改为当前时间的前一年
删除文件