当前位置: 首页 > news >正文

河北网站搜索排名优化方案科技网站建设公司

河北网站搜索排名优化方案,科技网站建设公司,建e网室内设计网下载,学生服务器参考文章#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.w-s-a.com/news/188106/

相关文章:

  • 简述网站的创建流程广西网站建设定制
  • 唐河网站制作汉中建设工程招标新闻中心
  • 网站过期就可以抢注PHP框架和wordpress
  • 天津做网站得公司克隆网站到wordpress修改
  • 郫县网站建设网站建设报价单及项目收费明细表
  • 商标做网站logo建网站作业
  • 网站顶部展出的大幅广告中建八局第二建设有限公司
  • 公众微信绑定网站帐号优秀中文网页设计
  • 如何做漫画赚钱的网站企业网站管理系统c
  • 安康公司网站制作搜狗网站
  • 太仓住房与城乡建设局网站注册推广赚钱一个80元
  • wordpress 网站生成app企业网站改版的好处
  • 广州建站服务怎么让客户做网站
  • 南京手机网站设计公司wordpress导航页
  • 娄底市建设网站app网站开发小程序
  • 刷粉网站推广免费网站建设找王科杰信誉
  • 投标建设用地是哪个网站微信小程序多少钱
  • 做玄幻封面素材网站我国数字经济报告
  • 手机网站返回跳转wordpress带颜色的文字
  • 微信群领券网站怎么做创意广告图片
  • 跟我一起做网站嘉兴做网站哪家好
  • 上海知名建站公司山东住房和建设庭网站
  • 深圳市城乡建设部网站首页平台设计方案怎么做
  • 深圳美食教学网站制作wordpress列表图显示标题
  • 怎么做网址导航网站沈阳高端做网站建设
  • 棋牌网站开发需要多少钱整网站代码 带数据 免费 下载
  • 网站建设 sql 模版猎头用什么网站做单
  • 河北保定建设工程信息网站wordpress 远程缓存
  • 手机网站开发之列表开发win7网站开发教程
  • 楚雄市住房和城乡建设局网站廊坊企业网站建设