jsch icon indicating copy to clipboard operation
jsch copied to clipboard

jsch.agentproxy.pageant-0.0.9

Open viswa72 opened this issue 2 years ago • 6 comments

Do we have fork for pageant . If no is there any plan to add in feture

viswa72 avatar Mar 31 '23 05:03 viswa72

Is included already see #65

mwiede avatar Mar 31 '23 05:03 mwiede

I have used the folowing one. But we are getting error. IdentityRepository irepo = new AgentIdentityRepository(new SSHAgentConnector()); jsch.setIdentityRepository(irepo);

My environment : Open JDK17 Error : SSH_AUTH_SOCK is not defined.

viswa72 avatar Apr 04 '23 00:04 viswa72

didnt you want to use pageant (on windows)? Then it would have been

IdentityRepository irepo = new AgentIdentityRepository(new PageantConnector());
jsch.setIdentityRepository(irepo);

mwiede avatar Apr 04 '23 11:04 mwiede

On windows/Linux we want to use pageant How to do this any help ?

Regards Viswa

On Tue, Apr 4, 2023 at 16:34 Matthias Wiedemann @.***> wrote:

didnt you want to use pageant (on windows)? Then it would have been

IdentityRepository irepo = new AgentIdentityRepository(new PageantConnector()); jsch.setIdentityRepository(irepo);

— Reply to this email directly, view it on GitHub https://github.com/mwiede/jsch/issues/300#issuecomment-1495772952, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABL4OPFXODZJZLN22P2DACDW7P52FANCNFSM6AAAAAAWOFKSVU . You are receiving this because you authored the thread.Message ID: @.***>

viswa72 avatar Apr 04 '23 12:04 viswa72

have a look at https://github.com/mwiede/jsch/blob/master/examples/JSchWithAgentProxy.java example.

you cannot use pageant on linux. on windows use pageant and on linux use ssh-agent.

for pageant usage, check other pages like https://winscp.net/eng/docs/ui_pageant

mwiede avatar Apr 04 '23 14:04 mwiede

I used the same but am getting Null at new SSHagentconnector() Am using ecdsa key

On Tue, Apr 4, 2023 at 20:25 Matthias Wiedemann @.***> wrote:

have a look at https://github.com/mwiede/jsch/blob/master/examples/JSchWithAgentProxy.java example.

you cannot use pageant on linux. on windows use pageant and on linux use ssh-agent.

for pageant usage, check other pages like https://winscp.net/eng/docs/ui_pageant

— Reply to this email directly, view it on GitHub https://github.com/mwiede/jsch/issues/300#issuecomment-1496120379, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABL4OPEPAG4YGS754YRLRALW7QY7FANCNFSM6AAAAAAWOFKSVU . You are receiving this because you authored the thread.Message ID: @.***>

viswa72 avatar Apr 04 '23 15:04 viswa72