Our SVN server allows ssh connections only. How can I configure IntelliJ on Windows to connect to SVN server using svn+ssh?
相关问题
- Inheritance impossible in Windows Runtime Componen
- how to get running process information in java?
- Is TWebBrowser dependant on IE version?
- How can I have a python script safely exit itself?
- I want to trace logs using a Macro multi parameter
相关文章
- 如何让cmd.exe 执行 UNICODE 文本格式的批处理?
- 怎么把Windows开机按钮通过修改注册表指向我自己的程序
- In IntelliJ IDEA, how can I create a key binding t
- Warning : HTML 1300 Navigation occured?
- Check if directory exists on remote machine with s
- IntelliJ IDEA can't open projects or add SDK o
- Bundling the Windows Mono runtime with an applicat
- Windows 8.1 How to fix this obsolete code?
In order to connect to SVN using ssh on a Windows machine, you will need to
Here are the details of these steps.
1. Generate your private key.
You can use PUTTYGEN to generate the private key.
Then save the key in the
.ssh
folder in the user home directory.If you have Windows 10, you can use Bash on Ubuntu on Windows to generate and load your private keys.
This will generate the file
~/.ssh/id_rsa
Then load the key to the server
The final step is to move the generated file from the Ubuntu subsystem path to your home directory in windows.
You still need to convert the key from
OpenSSH
toPPK
format using the PUTTYGEN tool. From the tool load the file and then save the private key again in the PPK format.2. Create a saved PuTTy session and configure it to use your private key.
Create a new session in PuTTY for login into the SVN server and change the setting of SSH/Auth to point to the private key file
3. Use Tortoise SVN Plink as the ssh tunnel
Download and install Tortoise SVN. It has a command line tool named
TortoisePlink
which is based on puTTY. We will useplink
as the SSH tunnel for SVN.4. Configure IntelliJ to use this SSH tunnel for Subversion.
Go to File/Settings/Version Control/Subversion then select SSH settings tab.
Select
Subversion config
make sure SSH tunnel is set to
$SVN_SSH ssh -q
then add the path to TortoisPlink as in the picture. Make sure to skip backslashes.Then, you are good to go.