mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Goldstein Lyor (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SSHD-752) HostConfigEntry can't parse tabbed SSH config files
Date Thu, 22 Jun 2017 07:28:00 GMT

    [ https://issues.apache.org/jira/browse/SSHD-752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16058903#comment-16058903
] 

Goldstein Lyor commented on SSHD-752:
-------------------------------------

Pushed into latest version (1.6.0-SNAPSHOT) - see https://github.com/apache/mina-sshd/commit/92c24d13cf5333118402288c33750434058556bf

> HostConfigEntry can't parse tabbed SSH config files
> ---------------------------------------------------
>
>                 Key: SSHD-752
>                 URL: https://issues.apache.org/jira/browse/SSHD-752
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>            Reporter: Casey
>            Assignee: Goldstein Lyor
>            Priority: Minor
>             Fix For: 1.6.0
>
>
> Trying to read a *valid* SSH config file with tabs causes an exception to be thrown.
This bug still exists in sshd-1.5.0-14-gc9f8995c.
> Here is an example stack trace:
> {{
> [2017-06-20 02:14:38.525] 3681 ERROR    MainThread      __main__        Failed to bring
Jenkins node offline: java.io.StreamCorruptedException: No configuration value delimiter at
line 2: VisualHostKey			no 	at org.apache.sshd.client.config.hosts.HostConfigEntry.readHostConfigEntries(HostConfigEntry.java:858)
	at org.apache.sshd.client.config.hosts.HostConfigEntry.readHostConfigEntries(HostConfigEntry.java:815)
	at org.apache.sshd.client.config.hosts.HostConfigEntry.readHostConfigEntries(HostConfigEntry.java:809)
	at org.apache.sshd.client.config.hosts.HostConfigEntry.readHostConfigEntries(HostConfigEntry.java:791)
	at org.apache.sshd.client.config.hosts.ConfigFileHostEntryResolver.reloadHostConfigEntries(ConfigFileHostEntryResolver.java:102)
	at org.apache.sshd.client.config.hosts.DefaultConfigFileHostEntryResolver.reloadHostConfigEntries(DefaultConfigFileHostEntryResolver.java:94)
	at org.apache.sshd.client.config.hosts.ConfigFileHostEntryResolver.resolveEffectiveResolver(ConfigFileHostEntryResolver.java:89)
	at org.apache.sshd.client.config.hosts.ConfigFileHostEntryResolver.resolveEffectiveHost(ConfigFileHostEntryResolver.java:59)
	at org.apache.sshd.client.SshClient.connect(SshClient.java:498) 	at hudson.cli.SSHCLI.sshConnection(SSHCLI.java:98)
	at hudson.cli.CLI._main(CLI.java:562) 	at hudson.cli.CLI.main(CLI.java:399) 
> }}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message