A page in your DokuWiki was added or changed. Here are the details: Date : 2017/01/08 13:05 Browser : Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0 IP-Address : 78.43.90.159 Hostname : HSI-KBW-078-043-090-159.hsi4.kabel-badenwuerttemberg.de Old Revision: http://wiki.x2go.org/doku.php/doc:howto:ssh-agent-workaround?rev=1483880143 New Revision: http://wiki.x2go.org/doku.php/doc:howto:ssh-agent-workaround Edit Summary: User : stefanbaur @@ -13,38 +13,38 @@ # Part that runs in regular SSH session # check we have an agent socket and - # check we have an ~/.x2goclient directory + # check we have an ~/.x2go directory if [ -n "$SSH_AUTH_SOCK" ] && \ - [ -d ~/.x2goclient ] ; then + [ -d ~/.x2go ] ; then # touch the output file and set permissions # (as tight as possible) - touch ~/.x2goclient/agentsocket - chmod 600 ~/.x2goclient/agentsocket - chown $USER ~/.x2goclient/agentsocket + touch ~/.x2go/agentsocket + chmod 600 ~/.x2go/agentsocket + chown $USER ~/.x2go/agentsocket # write file name of agent socket into file - echo $SSH_AUTH_SOCK >~/.x2goclient/agentsocket + echo $SSH_AUTH_SOCK >~/.x2go/agentsocket fi # Part that runs in X2Go session # check we're on an X2GoServer (x2golistsessions is in path), # check we have a DISPLAY set, and # check our client DISPLAY and SSH client IP correspond to # a running X2Go session and - # check ~/.x2goclient/agent is a regular file + # check ~/.x2go/agent is a regular file if which x2golistsessions >/dev/null && \ [ -n "$DISPLAY" ] && \ [ -n "$(x2golistsessions | \ awk -F '|' '":"$3 == "'$DISPLAY'" && \ $5 == "R" && \ $8 == "'$(echo $SSH_CLIENT | \ awk '{print $1}')'" { print $3 }')" ] && \ - [ -f ~/.x2goclient/agentsocket ] ; then + [ -f ~/.x2go/agentsocket ] ; then # all checks passed, read content of file # (might still contain stale agent socket or garbage - MIGHTBEOURAGENT=$(cat ~/.x2goclient/agentsocket) + MIGHTBEOURAGENT=$(cat ~/.x2go/agentsocket) # check if it corresponds to an existing socket if [ -S "$MIGHTBEOURAGENT" ]; then # export path to agent socket export SSH_AUTH_SOCK=$MIGHTBEOURAGENT -- This mail was generated by DokuWiki at http://wiki.x2go.org/