ssh-pageant | An SSH authentication agent for Cygwin/MSYS to PuTTY | SSH Utils library
kandi X-RAY | ssh-pageant Summary
kandi X-RAY | ssh-pageant Summary
An SSH authentication agent for Cygwin/MSYS to PuTTY's Pageant.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ssh-pageant
ssh-pageant Key Features
ssh-pageant Examples and Code Snippets
Community Discussions
Trending Discussions on ssh-pageant
QUESTION
Is there a way in PS 5.1 to reuse the PuTTY agent keys?
Now, the details.
To use key agents one has an Agent that holds the keys (left box), and Client Applications that delegate administration of the keys (right box).
E.g., client application C1=putty
can use its own agent A1=pageant
, of course.
Client application C2=winscp
knows how to use directly A1.
Certain Clients cannot use certain Agents directly, but there are Proxy agents that bridge the gap.
For instance to use A1 with C3, I need Proxy P1=ssh-pageant
, see example below.
This helps centralizing in a single Agent the keys for many Clients.
Now I mean to use A1 for all my Clients (currently, only missing A1-C5 and A1-C6).
Is there a way in PS 5.1 to reuse the same PuTTY agent keys? (I.e., a Proxy Px to use A1 with C5)
Possibly helpful: https://superuser.com/a/1173570/245595
NOTES:
I did not try it, but it seems like
winssh-pageant
is a Proxy to link A2 with Client applications that understand A1 directly.I am currently trying to use in PS the same
ssh-pageant
from msys2 (it is a Windows program in the end, and often times they do work), manually replacing whateval
does in msys2 (so far with no luck, but I think this is fixable):
ANSWER
Answered 2020-Aug-03 at 08:57I made this work, using the same Cygwin tools (i.e., both ssh-pageant
and Cygwin OpenSSH client) in a PS session.
So I would do (assuming ssh-pageant
is already running from Msys2):
QUESTION
I am doing rsync
, and I get the message
ANSWER
Answered 2020-Apr-16 at 11:31As pointed out by bk2204, there is support for SHA-256/512 RSA signatures starting from pageant 0.71.
So I updated to putty 0.73 and the warning is gone.
QUESTION
My New Web Server need authentication with RSA 2048 key.
I therefore generated a key, I placed the ir_rsa
and id_rsa.pub
files in my home folder ~/.ssh
(Windows 10).
But When I use the cvs comment (for pull or push) I get an error :
The Error Log is (with built-in SSH executable) :
15:14:14.657: [MyProject] git -c core.quotepath=false fetch origin --progress --prune java.io.IOException: There was a problem while connecting to mywebhost.fr:22 at com.trilead.ssh2.Connection.connect(Connection.java:791) at com.trilead.ssh2.Connection.connect(Connection.java:577) at org.jetbrains.git4idea.ssh.SSHMain.start(SSHMain.java:171) at org.jetbrains.git4idea.ssh.SSHMain.main(SSHMain.java:137) Caused by: java.io.IOException: Key exchange was not finished, connection is closed. at com.trilead.ssh2.transport.KexManager.getOrWaitForConnectionInfo(KexManager.java:92) at com.trilead.ssh2.transport.TransportManager.getConnectionInfo(TransportManager.java:230) at com.trilead.ssh2.Connection.connect(Connection.java:743) ... 3 more Caused by: java.io.IOException: Cannot negotiate, proposals do not match. at com.trilead.ssh2.transport.KexManager.handleMessage(KexManager.java:413) at com.trilead.ssh2.transport.TransportManager.receiveLoop(TransportManager.java:754) at com.trilead.ssh2.transport.TransportManager$1.run(TransportManager.java:469) at java.lang.Thread.run(Thread.java:745) fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
The Error Log is (with "Settings > Version Control > git > SSH Executable" to "native") :
15:13:50.031: [MyProject] git -c core.quotepath=false fetch origin --progress --prune Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
If I use the Git command in terminal the pull or push command works good :
What should I do to use PhpStorm's VCS buttons?
- I tried to set
Settings > Version Control > git > SSH Executable
to "native" : Same problem - I tried to Install putty utility, run "Pageant" services and import my private key : Same problem
- I tried to run
ssh-add
: Same problem
- I tried to configure the
~/.config
file: Same problem
Host myHost.fr
Hostname myHost.fr User myloginuser IdentityFile C:\Users\username.ssh\id_rsa
My Git version is : 2.10.2.windows.1 (downloaded from https://git-scm.com/download/win)
My OS is Windows 10
[Edit] Solution : Thank you to Dmitriy Smirnov, I found the Solution :
In the C:\Program Files\Git\cmd
folder you will find the file start-ssh-pageant.cmd
.
Before launching it is necessary to create an environment variable:
...ANSWER
Answered 2017-Mar-04 at 21:19IntelliJ built-in SSH executable does not support strong security keys at the moment: https://youtrack.jetbrains.com/issue/IDEA-140196
Also, your keys are protected by a passphrase, that is why Native SSH does not work. IDE is not a terminal so cannot handle the prompt for a passphrase issued by the git
As a workaround, you could load the key to a ssh-agent, so executing git pull
from the command prompt does not prompt you for a passphrase, and use Native SSH.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ssh-pageant
Download the pre-built 32-bit or 64-bit release for Cygwin, or the 32-bit release for MSYS.
Just copy the exe into your PATH and ensure it is executable: $ cp ssh-pageant.exe /usr/bin/ $ chmod 755 /usr/bin/ssh-pageant.exe
Optionally, copy the manpage as well: $ cp ssh-pageant.1 /usr/share/man/man1/
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page