|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
can you use an external SSH client in SVNKitI understand SVNKit uses an internal ssh client but i was wondering if one can specify (through property file for instance) an external ssh client?
This would be very useful in my situation because at my company our ssh client authenticates with the svn server using kerberos rather than private keys. If this is not possible out of the box, how much of an effort it would be to patch SVNkit library to do this? |
|
|
Re: can you use an external SSH client in SVNKitHello,
> I understand SVNKit uses an internal ssh client but i was wondering if one > can specify (through property file for instance) an external ssh client? It is possible with SVNKit. One way to do that is to specify tunnel definition in Subversion configuration file, but use name other than "ssh" (e.g. "sshk"), then with SVNKit and native Subversion client you'll be able to use URLs like: svn+sshk://host/path and both SVNKit and native Subversion client will launch SSH client specified in tunnel definition in the configuration file. Alexander Kitaev, TMate Software, http://svnkit.com/ - Java [Sub]Versioning Library! zenMonkey wrote: > I understand SVNKit uses an internal ssh client but i was wondering if one > can specify (through property file for instance) an external ssh client? > > This would be very useful in my situation because at my company our ssh > client authenticates with the svn server using kerberos rather than private > keys. > > If this is not possible out of the box, how much of an effort it would be to > patch SVNkit library to do this? > > > --------------------------------------------------------------------- To unsubscribe, e-mail: svnkit-users-unsubscribe@... For additional commands, e-mail: svnkit-users-help@... |
|
|
Re: can you use an external SSH client in SVNKitHi,
Thanks for your help. This is what I did: - I created "sshk" entry in subversion config file like this "sshk = $SVN_SSH". SVN_SSH is defined as an environment variable on my windows box as "C:\\CMSrcAccess\\bin\\plink.exe" - When to try to setup svn authentication on Hudson (which uses SVNKit), i get this message "Cannot find tunnel specification for 'sshk' ". Even eclipse configured with "SVNKit" spits out "svn: Undefined tunnel scheme 'sshk' ". Am I missing something basic here?
|
|
|
Re: can you use an external SSH client in SVNKitHi,
Unfortunately, currently SVNKit can not resolve environment variables specified in the scheme definitions of the config file. Try using the absolute path instead of the environment variable in the config file. ---- Alexander Sinyushkin, TMate Software, http://svnkit.com/ - Java [Sub]Versioning Library! zenMonkey wrote: > Hi, > > Thanks for your help. > > This is what I did: > > - I created "sshk" entry in subversion config file like this "sshk = > $SVN_SSH". SVN_SSH is defined as an environment variable on my windows box > as "C:\\CMSrcAccess\\bin\\plink.exe" > > - When to try to setup svn authentication on Hudson (which uses SVNKit), i > get this message "Cannot find tunnel specification for 'sshk' ". Even > eclipse configured with "SVNKit" spits out "svn: Undefined tunnel scheme > 'sshk' ". > > Am I missing something basic here? > > > > > Alexander Kitaev-3 wrote: >> Hello, >> >>> I understand SVNKit uses an internal ssh client but i was wondering if >>> one >>> can specify (through property file for instance) an external ssh client? >> It is possible with SVNKit. One way to do that is to specify tunnel >> definition in Subversion configuration file, but use name other than >> "ssh" (e.g. "sshk"), then with SVNKit and native Subversion client >> you'll be able to use URLs like: >> >> svn+sshk://host/path >> >> and both SVNKit and native Subversion client will launch SSH client >> specified in tunnel definition in the configuration file. >> >> Alexander Kitaev, >> TMate Software, >> http://svnkit.com/ - Java [Sub]Versioning Library! >> >> zenMonkey wrote: >>> I understand SVNKit uses an internal ssh client but i was wondering if >>> one >>> can specify (through property file for instance) an external ssh client? >>> >>> This would be very useful in my situation because at my company our ssh >>> client authenticates with the svn server using kerberos rather than >>> private >>> keys. >>> >>> If this is not possible out of the box, how much of an effort it would be >>> to >>> patch SVNkit library to do this? >>> >>> >>> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: svnkit-users-unsubscribe@... >> For additional commands, e-mail: svnkit-users-help@... >> >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: svnkit-users-unsubscribe@... For additional commands, e-mail: svnkit-users-help@... |
|
|
Re: can you use an external SSH client in SVNKitHi,
It turns out I was modifying a different config file (cygwin suversion). After I modified the correct config file and used absolute path, I was able to use SVNKit in eclipse. However I see the same error (i.e. "FAILED: svn: Cannot find tunnel specification for 'sshk' ) when I try it with Hudson. Hudson uses SVNKit library (svnkit-1.2.1-hudson-2.jar)...I am not sure why SVNKit library in eclipse is able to see the new tunnel specification but not the one that comes packaged with hudson. I have posted this on hudson users mailing list as well, but i was wondering if you guys would be able to help. Thanks
|
|
|
Re: can you use an external SSH client in SVNKitHello,
The following works for me when I'm using SVNKit-based command line client on Windows (jsvn): config: [tunnels] ssh2=plink -i c:/users/alex/documents/keys/id2.ppk -l alex command line: jsvn co svn+ssh2://host/path/to/repos wc Please note that a) you may not use environment variables in tunnel definition with SVNKit and b) that certain applications that do use SVNKit may not actually use default Subversion configuration files and thus will not support defined tunnels. However, I'm not sure about Hudson, but in Subclipse tunnels defined in configuration file in above manner should work. Also, tunnel defintion should be such that tunnel program is not prompting for username/password and in general works in non-interactive manner. Alexander Kitaev, TMate Software, http://svnkit.com/ - Java [Sub]Versioning Library! zenMonkey wrote: > Hi, > > Thanks for your help. > > This is what I did: > > - I created "sshk" entry in subversion config file like this "sshk = > $SVN_SSH". SVN_SSH is defined as an environment variable on my windows box > as "C:\\CMSrcAccess\\bin\\plink.exe" > > - When to try to setup svn authentication on Hudson (which uses SVNKit), i > get this message "Cannot find tunnel specification for 'sshk' ". Even > eclipse configured with "SVNKit" spits out "svn: Undefined tunnel scheme > 'sshk' ". > > Am I missing something basic here? > > > > > Alexander Kitaev-3 wrote: >> Hello, >> >>> I understand SVNKit uses an internal ssh client but i was wondering if >>> one >>> can specify (through property file for instance) an external ssh client? >> It is possible with SVNKit. One way to do that is to specify tunnel >> definition in Subversion configuration file, but use name other than >> "ssh" (e.g. "sshk"), then with SVNKit and native Subversion client >> you'll be able to use URLs like: >> >> svn+sshk://host/path >> >> and both SVNKit and native Subversion client will launch SSH client >> specified in tunnel definition in the configuration file. >> >> Alexander Kitaev, >> TMate Software, >> http://svnkit.com/ - Java [Sub]Versioning Library! >> >> zenMonkey wrote: >>> I understand SVNKit uses an internal ssh client but i was wondering if >>> one >>> can specify (through property file for instance) an external ssh client? >>> >>> This would be very useful in my situation because at my company our ssh >>> client authenticates with the svn server using kerberos rather than >>> private >>> keys. >>> >>> If this is not possible out of the box, how much of an effort it would be >>> to >>> patch SVNkit library to do this? >>> >>> >>> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: svnkit-users-unsubscribe@... >> For additional commands, e-mail: svnkit-users-help@... >> >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: svnkit-users-unsubscribe@... For additional commands, e-mail: svnkit-users-help@... |
|
|
Re: can you use an external SSH client in SVNKit> I have posted this on hudson users
> http://www.nabble.com/SVN-hudson-integration:-Problem-using-external-ssh-client-td22357322.html > mailing list as well, but i was wondering if you guys would be able to > help. I lost my nabble password, could you please forward the following to the mailing list: There are basically three reasons for tunnels not working with Hudson: 1) Hudson uses its own configuration file that you didn't find yet. 2) Hudson doesn't use configuration files and provides its own implementation of ISVNOptions interface which doesn't support tunnels. 3) When instantiating SVNRepository objects Hudson code does not configure created object with "tunnel provider", for instance: SVNRepository repos = SVNRepositoryFactory.create(url); ISVNOptions options = SVNWCUtil.createDefaultOptions(true); repos.setTunnelProvider(options); ... Alexander Kitaev, TMate Software, http://svnkit.com/ - Java [Sub]Versioning Library! zenMonkey wrote: > Hi, > > It turns out I was modifying a different config file (cygwin suversion). > After I modified the correct config file and used absolute path, I was able > to use SVNKit in eclipse. > > However I see the same error (i.e. "FAILED: svn: Cannot find tunnel > specification for 'sshk' ) when I try it with Hudson. Hudson uses SVNKit > library (svnkit-1.2.1-hudson-2.jar)...I am not sure why SVNKit library in > eclipse is able to see the new tunnel specification but not the one that > comes packaged with hudson. > > I have posted this on hudson users > http://www.nabble.com/SVN-hudson-integration:-Problem-using-external-ssh-client-td22357322.html > mailing list as well, but i was wondering if you guys would be able to > help. > > Thanks > > > > > Alexander Sinyushkin wrote: >> Hi, >> >> Unfortunately, currently SVNKit can not resolve environment variables >> specified in the scheme definitions of the config file. Try using the >> absolute path instead of the environment variable in the config file. >> ---- >> Alexander Sinyushkin, >> TMate Software, >> http://svnkit.com/ - Java [Sub]Versioning Library! >> >> zenMonkey wrote: >>> Hi, >>> >>> Thanks for your help. >>> >>> This is what I did: >>> >>> - I created "sshk" entry in subversion config file like this "sshk = >>> $SVN_SSH". SVN_SSH is defined as an environment variable on my windows >>> box >>> as "C:\\CMSrcAccess\\bin\\plink.exe" >>> >>> - When to try to setup svn authentication on Hudson (which uses SVNKit), >>> i >>> get this message "Cannot find tunnel specification for 'sshk' ". Even >>> eclipse configured with "SVNKit" spits out "svn: Undefined tunnel scheme >>> 'sshk' ". >>> >>> Am I missing something basic here? >>> >>> >>> >>> >>> Alexander Kitaev-3 wrote: >>>> Hello, >>>> >>>>> I understand SVNKit uses an internal ssh client but i was wondering if >>>>> one >>>>> can specify (through property file for instance) an external ssh >>>>> client? >>>> It is possible with SVNKit. One way to do that is to specify tunnel >>>> definition in Subversion configuration file, but use name other than >>>> "ssh" (e.g. "sshk"), then with SVNKit and native Subversion client >>>> you'll be able to use URLs like: >>>> >>>> svn+sshk://host/path >>>> >>>> and both SVNKit and native Subversion client will launch SSH client >>>> specified in tunnel definition in the configuration file. >>>> >>>> Alexander Kitaev, >>>> TMate Software, >>>> http://svnkit.com/ - Java [Sub]Versioning Library! >>>> >>>> zenMonkey wrote: >>>>> I understand SVNKit uses an internal ssh client but i was wondering if >>>>> one >>>>> can specify (through property file for instance) an external ssh >>>>> client? >>>>> >>>>> This would be very useful in my situation because at my company our ssh >>>>> client authenticates with the svn server using kerberos rather than >>>>> private >>>>> keys. >>>>> >>>>> If this is not possible out of the box, how much of an effort it would >>>>> be >>>>> to >>>>> patch SVNkit library to do this? >>>>> >>>>> >>>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: svnkit-users-unsubscribe@... >>>> For additional commands, e-mail: svnkit-users-help@... >>>> >>>> >>>> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: svnkit-users-unsubscribe@... >> For additional commands, e-mail: svnkit-users-help@... >> >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: svnkit-users-unsubscribe@... For additional commands, e-mail: svnkit-users-help@... |
| Free embeddable forum powered by Nabble | Forum Help |