当前位置: 首页 > news >正文 郑州网站高端设计品牌网站定制 news 2025/11/2 19:35:42 郑州网站高端设计,品牌网站定制,微动网站建设网络推广,可以免费做中考题的网站参考文章#xff1a;解决#xff1a;Linux上SVN 1.12版本以上无法直接存储明文密码_linux svn 保存密码-CSDN博客新版本svn使用gpg-agent存储密码-CSDN博客svn之无法让 SVN 存储密码#xff0c;即使配置设置为允许_编程设计_ITGUEST 方法一#xff1a;明文方式保存密码 首…参考文章解决Linux上SVN 1.12版本以上无法直接存储明文密码_linux svn 保存密码-CSDN博客新版本svn使用gpg-agent存储密码-CSDN博客svn之无法让 SVN 存储密码即使配置设置为允许_编程设计_ITGUEST 方法一明文方式保存密码 首次执行svn check或svn update等命令后会在系统用户目录下生成.subversion目录并在.subversion/auth/svn.simple目录下生成SVN用户的配置文件比如cdf4a82409609b47a18c1b93ad8db39c文件内容如下 stevenubuntu2204:~$ cat ~/.subversion/auth/svn.simple/cdf4a82409609b47a18c1b93ad8db39c K 8 passtype V 9 gpg-agent K 15 svn:realmstring V 52 https://192.168.121.240 Subversion Repository K 8 username V 6 steven END 修改.subversion/auth/svn.simple/cdf4a82409609b47a18c1b93ad8db39c文件如下 stevenubuntu2204:~$ vi ~/.subversion/auth/svn.simple/cdf4a82409609b47a18c1b93ad8db39c stevenubuntu2204:~$ cat ~/.subversion/auth/svn.simple/cdf4a82409609b47a18c1b93ad8db39c K 8 passtype V 6 simple K 15 svn:realmstring V 52 https://192.168.121.240:5443 Subversion Repository K 8 username V 6 steven K 8 password V 7 pwd1234 END 修改说明 1.文件中K表示关键字V表示键值后面的数字表示下一行字符串的长度。 2.将密码保存方式由gpg-agent改为simple(明文) 3.添加steven用户密码: pwd1234 需要注意的是若是换个SVN用户名后这个文件会被改写以上手动修改的信息会被覆盖需要从再手动修改。 方式二gpg-agent加密保存 gpg-agent是一个密码管理工具具体说明查看官网信息。https://www.gnupg.org/ 1.安装gpg-agent stevenubuntu2204:~$ sudo apt-get install gpg-agent gpg-agent (GnuPG) 2.2.27 libgcrypt 1.8.8 Copyright (C) 2021 Free Software Foundation, Inc. License GNU GPL-3.0-or-later https://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.2.添加环境变量 修改shell初始化脚本添加GPG_TTY和GPG_AGENT_INFO两个环境变量。并使用source命令让其立即生效。 stevenubuntu2204:~$ vi ~/.bashrc stevenubuntu2204:~$ cat ~/.bashrc ... ... export GPG_TTY$(tty) export GPG_AGENT_INFOgpgconf --list-dirs agent-socket | tr -d \n echo -n :: stevenubuntu2204:~$ source ~/.bashrc 3.配置gpg-agent stevenubuntu2204:~$ vi ~/.gunpg/gpg-agent.conf stevenubuntu2204:~$ cat ~/.gunpg/gpg-agent.conf # ╔═══════════════════════════════════════════════════════════════════════════╗ # ║ gpg-agent configuration (~/.gnupg/gpg-agent.conf) ║ # ║ ║ # ║ Note: ║ # ║ After changing the configuration, reload the agent: ║ # ║ $ gpg-connect-agent reloadagent /bye ║ # ╚═══════════════════════════════════════════════════════════════════════════╝# Time a cache entry is valid (in seconds) default: 600 # Each time a cache entry is accessed, the entrys timer is reset default-cache-ttl 172800# Set the maximum time a cache entry is valid to n seconds. # After this time a cache entry will be expired even if it has been accessed recently. # The default is 2 hours (7200 seconds). max-cache-ttl 604800stevenubuntu2204:~$ gpg-connect-agent reloadagent /bye 4.删除旧的SVN账号信息 stevenubuntu2204:~$ rm -rf ~/.subversion 5.执行效果 stevenubuntu2204:~$ svn update svntest Updating steven.hu/svntest: Error validating server certificate for https://192.168.121.240:- The certificate is not issued by a trusted authority. Use thefingerprint to validate the certificate manually!- The certificate hostname does not match. Certificate information:- Hostname: xxxx- Valid: from Mar 24 14:32:41 2020 GMT until Mar 22 14:32:41 2030 GMT- Issuer: xxx- Fingerprint: xxx (R)eject, accept (t)emporarily or accept (p)ermanently? p Authentication realm: https://192.168.121.240 Subversion Repository Password for steven: ┌─────────────────────────────────────────────────────────────────────────────────────────┐ │ Enter your Subversion password for https://192.168.121.240:5443 Subversion Repository │ │ │ │ Password for steven: ******_________________________________________________________ │ │ │ │ OK Cancel │ └─────────────────────────────────────────────────────────────────────────────────────────┘At revision 39. stevenubuntu2204:~$ svn update svntest Updating svntest: At revision 39. stevenubuntu2204:~$ 文章转载自: http://www.morning.tmcmj.cn.gov.cn.tmcmj.cn http://www.morning.bgnkl.cn.gov.cn.bgnkl.cn http://www.morning.fhqsm.cn.gov.cn.fhqsm.cn http://www.morning.hdrsr.cn.gov.cn.hdrsr.cn http://www.morning.jcffp.cn.gov.cn.jcffp.cn http://www.morning.sgbk.cn.gov.cn.sgbk.cn http://www.morning.qgjgsds.com.cn.gov.cn.qgjgsds.com.cn http://www.morning.bpmz.cn.gov.cn.bpmz.cn http://www.morning.yzsdp.cn.gov.cn.yzsdp.cn http://www.morning.rqlzz.cn.gov.cn.rqlzz.cn http://www.morning.rqxch.cn.gov.cn.rqxch.cn http://www.morning.dxzcr.cn.gov.cn.dxzcr.cn http://www.morning.kfyqd.cn.gov.cn.kfyqd.cn http://www.morning.fwcnx.cn.gov.cn.fwcnx.cn http://www.morning.bpknt.cn.gov.cn.bpknt.cn http://www.morning.xhqr.cn.gov.cn.xhqr.cn http://www.morning.ftcrt.cn.gov.cn.ftcrt.cn http://www.morning.rwyw.cn.gov.cn.rwyw.cn http://www.morning.mwwnz.cn.gov.cn.mwwnz.cn http://www.morning.cmdfh.cn.gov.cn.cmdfh.cn http://www.morning.fmrrr.cn.gov.cn.fmrrr.cn http://www.morning.qsy37.cn.gov.cn.qsy37.cn http://www.morning.jlxqx.cn.gov.cn.jlxqx.cn http://www.morning.kgphc.cn.gov.cn.kgphc.cn http://www.morning.hncrc.cn.gov.cn.hncrc.cn http://www.morning.wfzlt.cn.gov.cn.wfzlt.cn http://www.morning.crqpl.cn.gov.cn.crqpl.cn http://www.morning.pcrzf.cn.gov.cn.pcrzf.cn http://www.morning.rqfnl.cn.gov.cn.rqfnl.cn http://www.morning.qqrqb.cn.gov.cn.qqrqb.cn http://www.morning.jyyw.cn.gov.cn.jyyw.cn http://www.morning.wngpq.cn.gov.cn.wngpq.cn http://www.morning.hlzpb.cn.gov.cn.hlzpb.cn http://www.morning.zrrgx.cn.gov.cn.zrrgx.cn http://www.morning.lbxcc.cn.gov.cn.lbxcc.cn http://www.morning.ddqdl.cn.gov.cn.ddqdl.cn http://www.morning.mljtx.cn.gov.cn.mljtx.cn http://www.morning.kfbth.cn.gov.cn.kfbth.cn http://www.morning.lskrg.cn.gov.cn.lskrg.cn http://www.morning.fktlr.cn.gov.cn.fktlr.cn http://www.morning.mytmn.cn.gov.cn.mytmn.cn http://www.morning.yfddl.cn.gov.cn.yfddl.cn http://www.morning.jwlmm.cn.gov.cn.jwlmm.cn http://www.morning.kpcxj.cn.gov.cn.kpcxj.cn http://www.morning.qznkn.cn.gov.cn.qznkn.cn http://www.morning.zpkfb.cn.gov.cn.zpkfb.cn http://www.morning.hpnhl.cn.gov.cn.hpnhl.cn http://www.morning.czcbl.cn.gov.cn.czcbl.cn http://www.morning.cszbj.cn.gov.cn.cszbj.cn http://www.morning.qpqwd.cn.gov.cn.qpqwd.cn http://www.morning.qzfjl.cn.gov.cn.qzfjl.cn http://www.morning.gmmyn.cn.gov.cn.gmmyn.cn http://www.morning.pcxgj.cn.gov.cn.pcxgj.cn http://www.morning.ksjnl.cn.gov.cn.ksjnl.cn http://www.morning.xgkxy.cn.gov.cn.xgkxy.cn http://www.morning.ccpnz.cn.gov.cn.ccpnz.cn http://www.morning.ykmtz.cn.gov.cn.ykmtz.cn http://www.morning.fpxsd.cn.gov.cn.fpxsd.cn http://www.morning.sbdqy.cn.gov.cn.sbdqy.cn http://www.morning.saastob.com.gov.cn.saastob.com http://www.morning.zrdqz.cn.gov.cn.zrdqz.cn http://www.morning.aa1585.com.gov.cn.aa1585.com http://www.morning.qfths.cn.gov.cn.qfths.cn http://www.morning.rnkq.cn.gov.cn.rnkq.cn http://www.morning.xqwq.cn.gov.cn.xqwq.cn http://www.morning.lcdtb.cn.gov.cn.lcdtb.cn http://www.morning.rnhh.cn.gov.cn.rnhh.cn http://www.morning.gmmyn.cn.gov.cn.gmmyn.cn http://www.morning.zrgx.cn.gov.cn.zrgx.cn http://www.morning.nlkm.cn.gov.cn.nlkm.cn http://www.morning.ltfnl.cn.gov.cn.ltfnl.cn http://www.morning.jrslj.cn.gov.cn.jrslj.cn http://www.morning.sbjhm.cn.gov.cn.sbjhm.cn http://www.morning.xwlmr.cn.gov.cn.xwlmr.cn http://www.morning.dwgcx.cn.gov.cn.dwgcx.cn http://www.morning.gyfwy.cn.gov.cn.gyfwy.cn http://www.morning.lzrpy.cn.gov.cn.lzrpy.cn http://www.morning.rlhgx.cn.gov.cn.rlhgx.cn http://www.morning.spfh.cn.gov.cn.spfh.cn http://www.morning.qtxwb.cn.gov.cn.qtxwb.cn 查看全文 http://www.tj-hxxt.cn/news/271715.html 相关文章: 佛山外贸网站建设渠道哈尔滨网站开发电话 呼家楼做网站的公司建设网站怎么入账 北流网站建设杭州10大软件开发公司 北京做网站哪个好wordpress开启缓存 做网站推广前途个人网站开发技术 岱山县网站建设wordpress singular WordPress一键开启全站SSL.net网站费用 解决网站兼容性问题软件职业培训 wordpress 网站源码高清图片素材哪里找 南京网站公司网站icp备案申请 建设网站的网站是什么网上花店网页制作教程 asp net4.0网站开发网站建设需要什么研究条件 淄川网站建设自建网站注册域名很有必要 丹东新区建设发展集团网站做个手机网站有必要吗 网站流量转化免费提供网站 网站建设报价东莞购物网站推广方案 陆家网站建设手机网站制作与建设 帝国cms网站地址移动网站建设初学视频教程 做投融资平台的网站都有哪些?网络营销指的是什么意思 公司做网站多少钱怎么查网站有没有做404 宜宾建设网站建站优化全包 北京做网站价格免费erp系统软件有哪些 对网站做综合搜索引擎优化分析阿里云网站建设一次付费 创建网站的英语网站 分析 建立网站原理网站建站行业 知名企业门户网站建设北京朝阳区楼盘 网站建设主体力量企业网站硬件设计 开发网站需要注意seo短视频网页入口引流动漫 永久免费的ppt网站在线家装设计平台免费 建设自己的网站有钱赚么谷歌优化方法