This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
wiki:development:x2goclient-cli-study [2011/01/07 09:46] dali created |
wiki:development:x2goclient-cli-study [2011/11/15 11:36] sunweaver |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | x2goclient-cli was developed for [[http:// | + | ===== Studying X2Go Session Handshake ===== |
- | There are some issues with it, the biggest problem is that after a session has ended there are still ssh tunnels running between the client and the server. | + | The Perl script x2goclient-cli was developed for [[http:// |
+ | |||
+ | However, the x2goclient-cli script is very good for studying the X2Go session handshake. It can be found in the [[http:// | ||
+ | |||
+ | ===== Improving x2goclient-cli ===== | ||
+ | |||
+ | There are some issues with it, the biggest problem is that after a session has ended there are still ssh tunnels running between the client and the server. | ||
+ | |||
+ | Using SSH keys to authenticate seems to avoid the problem, see [[: | ||
+ | |||
+ | If you need to use password authentication, add these lines after the last line in x2goclient-cli | ||
<code perl> | <code perl> | ||
Line 34: | Line 44: | ||
} | } | ||
</ | </ | ||
+ | |||
+ | The above code will work with both password authentication and SSH keys. |