vin*_*mes 9 svn encryption passwords ssh gnome
我希望subversion在Fedora服务器上加密我的密码而不运行gnome桌面.但是我确实从gnome GUI开始进行健全性测试,并将正常模式执行到:
password-stores = gnome-keyring
store-passwords = yes
Run Code Online (Sandbox Code Playgroud)
[global]
store-passwords = yes
store-plaintext-passwords = no
Run Code Online (Sandbox Code Playgroud)
然后我删除了~/.subversion/auth
dir,执行了svn操作和presto,密码存储在gnome-keyring而不是纯文本.然后我ssh到同一台服务器并运行:
export `gnome-keyring-daemon`
Run Code Online (Sandbox Code Playgroud)
这给了我一个有趣的错误:
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客户端上导出并且可以正常工作.
小智 4
检查此处:http ://technicalprose.blogspot.com/2011/06/using-subversion-with-gnome-keyring.html
马克·班尼斯特(Mark Bannister)有很好的指导和出色的剧本,可以将所有内容整合在一起。
归档时间: |
|
查看次数: |
6575 次 |
最近记录: |