Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception reading OpenSSH configuration #6164

Closed
cyberduck opened this issue Aug 22, 2011 · 2 comments
Closed

Exception reading OpenSSH configuration #6164

cyberduck opened this issue Aug 22, 2011 · 2 comments
Assignees
Labels
bug fixed sftp SFTP Protocol Implementation
Milestone

Comments

@cyberduck
Copy link
Collaborator

Deyk created the issue

I tried connecting via SFTP to a server. Nothing happens, and there is exception output in the Console. This happens with both password and public key authentication.

Here is the console output:

8/22/11 11:13:35 AM	[0x0-0x1065064].ch.sudo.cyberduck[52244]	2011-08-22 11:13:35,028 [background-9] ERROR ch.cyberduck.ui.AbstractController - Exception running background task:1
8/22/11 11:13:35 AM	[0x0-0x1065064].ch.sudo.cyberduck[52244]	java.lang.ArrayIndexOutOfBoundsException: 1
8/22/11 11:13:35 AM	[0x0-0x1065064].ch.sudo.cyberduck[52244]		at org.spearce.jgit.transport.OpenSshConfig.parse(OpenSshConfig.java:183)
8/22/11 11:13:35 AM	[0x0-0x1065064].ch.sudo.cyberduck[52244]		at org.spearce.jgit.transport.OpenSshConfig.refresh(OpenSshConfig.java:152)
8/22/11 11:13:35 AM	[0x0-0x1065064].ch.sudo.cyberduck[52244]		at org.spearce.jgit.transport.OpenSshConfig.create(OpenSshConfig.java:73)
8/22/11 11:13:35 AM	[0x0-0x1065064].ch.sudo.cyberduck[52244]		at ch.cyberduck.core.sftp.SFTPSession.getHostname(SFTPSession.java:161)
8/22/11 11:13:35 AM	[0x0-0x1065064].ch.sudo.cyberduck[52244]		at ch.cyberduck.core.sftp.SFTPSession.getResolver(SFTPSession.java:173)
8/22/11 11:13:35 AM	[0x0-0x1065064].ch.sudo.cyberduck[52244]		at ch.cyberduck.core.Session.fireConnectionWillOpenEvent(Session.java:587)
8/22/11 11:13:35 AM	[0x0-0x1065064].ch.sudo.cyberduck[52244]		at ch.cyberduck.core.sftp.SFTPSession.connect(SFTPSession.java:135)
8/22/11 11:13:35 AM	[0x0-0x1065064].ch.sudo.cyberduck[52244]		at ch.cyberduck.core.Session.check(Session.java:93)
8/22/11 11:13:35 AM	[0x0-0x1065064].ch.sudo.cyberduck[52244]		at ch.cyberduck.core.sftp.SFTPSession.check(SFTPSession.java:408)
8/22/11 11:13:35 AM	[0x0-0x1065064].ch.sudo.cyberduck[52244]		at ch.cyberduck.core.sftp.SFTPSession.check(SFTPSession.java:399)
8/22/11 11:13:35 AM	[0x0-0x1065064].ch.sudo.cyberduck[52244]		at ch.cyberduck.core.Session.mount(Session.java:274)
8/22/11 11:13:35 AM	[0x0-0x1065064].ch.sudo.cyberduck[52244]		at ch.cyberduck.core.Session.mount(Session.java:262)
@cyberduck
Copy link
Collaborator Author

@dkocher commented

Can you attach your OpenSSH configuration file in .ssh/config. As a workaround, move this file away as there is a bug encountering an unexpected format in this configuration file.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

In 0807384.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug fixed sftp SFTP Protocol Implementation
Projects
None yet
Development

No branches or pull requests

2 participants