我想让subversion在不运行gnome桌面的情况下加密我在Fedora服务器上的密码。然而,我确实在gnome GUI中启动了一个健全的测试,并执行了正常的mods:
~/.subversion/config
password-stores = gnome-keyring
store-passwords = yes~/..subversion/服务器
[global]
store-passwords = yes
store-plaintext-passwords = no然后,我删除了~/.subversion/auth目录,执行了svn操作,并将密码存储在gnome-keyring中,而不是纯文本。然后我通过ssh连接到同一台服务器并运行:
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桌面运行时,我可以在ssh客户机上导出DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-oCE5teZHWJ,guid=39013abab7d3f9e97422b8d94e45a9c2,这是可行的。
发布于 2011-09-09 01:24:27
点击这里:http://technicalprose.blogspot.com/2011/06/using-subversion-with-gnome-keyring.html
Mark Bannister有一个很好的说明和一个很好的脚本来将它们结合在一起。
https://stackoverflow.com/questions/7047287
复制相似问题