You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2013/09/17 05:17:53 UTC

[jira] [Commented] (CAMEL-6757) scp task does not respect StrictHostKeyChecking option

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

Willem Jiang commented on CAMEL-6757:
-------------------------------------

I just did quick search about the StrictHostKeyChecking
{code}
StrictHostKeyChecking: ask | yes | no
default: ask
  If this property is set to ``yes'', jsch will never automatically add
  host keys to the $HOME/.ssh/known_hosts file, and refuses to connect
  to hosts whose host key has changed.  This property forces the user
  to manually add all new hosts.  If this property is set to ``no'', 
  jsch will automatically add new host keys to the user known hosts
  files.  If this property is set to ``ask'', new  host keys will be
  added to the user known host files only after the user has confirmed 
  that is what they really want to do, and jsch will refuse to connect 
  to hosts whose host key has changed.
{code}
                
> scp task does not respect StrictHostKeyChecking option
> ------------------------------------------------------
>
>                 Key: CAMEL-6757
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6757
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jsch
>    Affects Versions: 2.11.1
>            Reporter: Guy Burton
>            Assignee: Willem Jiang
>            Priority: Minor
>         Attachments: StrictHostKeyChecking.scp.patch
>
>
> The SCP component does not currently do anything with the StrictHostKeyChecking option, as documented. The attached patch fixes this (no test case I'm afraid).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira