gpt4 book ai didi

svn - 通过 gnome-keyring 为 ssh(仅限)客户端颠覆客户端加密密码

转载 作者:行者123 更新时间:2023-12-04 04:27:09 28 4
gpt4 key购买 nike

我希望 subversion 在没有运行 gnome 桌面的情况下在 Fedora 服务器上加密我的密码。但是我确实从 gnome GUI 开始进行健全性测试,并做了正常的 mods:

~/.subversion/config

password-stores = gnome-keyring
store-passwords = yes

~/.subversion/servers
[global]
store-passwords = yes
store-plaintext-passwords = no

然后我删除了 ~/.subversion/auth dir,执行 svn 操作和 presto,密码存储在 gnome-keyring 中,而不是纯文本。然后我 ssh'd 到同一台服务器并运行:
export `gnome-keyring-daemon`

这给了我一个有趣的错误:
gnome-keyring-daemon: couldn't lookup ssh component setting: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Not running within active session)gnome-keyring-daemon: couldn't lookup pkcs11 component setting: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Not running within active session)
在这一点上,我被困住了。我只能说的另一件事是,当 gnome 桌面运行时,我可以导出 DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-oCE5teZHWJ,guid=39013abab7d3f9e97422b8d94e45a9c2在 ssh 客户端上并且有效。

最佳答案

在这里查看:http://technicalprose.blogspot.com/2011/06/using-subversion-with-gnome-keyring.html

Mark Ba​​nnister 有很好的说明和一个很好的脚本,可以将它们组合在一起。

关于svn - 通过 gnome-keyring 为 ssh(仅限)客户端颠覆客户端加密密码,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7047287/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com