文件操作 - constants.rb
返回文件管理
返回主菜单
删除本文件
文件: /opt/puppetlabs/puppet/lib/ruby/gems/3.2.0/gems/net-ssh-7.2.3/lib/net/ssh/transport/constants.rb
编辑文件内容
module Net module SSH module Transport module Constants #-- # Transport layer generic messages #++ DISCONNECT = 1 IGNORE = 2 UNIMPLEMENTED = 3 DEBUG = 4 SERVICE_REQUEST = 5 SERVICE_ACCEPT = 6 #-- # Algorithm negotiation messages #++ KEXINIT = 20 NEWKEYS = 21 #-- # Key exchange method specific messages #++ KEXDH_INIT = 30 KEXDH_REPLY = 31 KEXECDH_INIT = 30 KEXECDH_REPLY = 31 KEXDH_GEX_GROUP = 31 KEXDH_GEX_INIT = 32 KEXDH_GEX_REPLY = 33 KEXDH_GEX_REQUEST = 34 end end end end
修改文件时间
将文件时间修改为当前时间的前一年
删除文件