You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2020/06/17 05:40:34 UTC
[Bug 64530] New: sshexec SSHConfig with Host * causes host to be set
to null
https://bz.apache.org/bugzilla/show_bug.cgi?id=64530
Bug ID: 64530
Summary: sshexec SSHConfig with Host * causes host to be set to
null
Product: Ant
Version: 1.10.8
Hardware: All
OS: Mac OS X 10.1
Status: NEW
Severity: normal
Priority: P2
Component: Core tasks
Assignee: notifications@ant.apache.org
Reporter: dougalg@gmail.com
Target Milestone: ---
When using sshexec with the sshconfig option, if your ssh config uses a default
identityfile, eg:
Host *
IdentityFile ~/.ssh/id_rsa
Then sshexec will override any explicit host you have set with "null".
This bug is most likely caused by line 280 of
src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHBase.java in the
loadSshConfig method.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 64530] sshexec SSHConfig with Host * causes host to be set to
null
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64530
Stefan Bodewig <bo...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |1.10.9
Resolution|--- |FIXED
Status|NEW |RESOLVED
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 64530] sshexec SSHConfig with Host * causes host to be set to
null
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64530
Dougal Graham <do...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|Core tasks |Optional Tasks
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 64530] sshexec SSHConfig with Host * causes host to be set to
null
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64530
--- Comment #1 from Stefan Bodewig <bo...@apache.org> ---
could you please verify the simple change
https://github.com/apache/ant/commit/f891c4bd8b5acf92f79a49734cffda23cb19959f
fixes the problem?
--
You are receiving this mail because:
You are the assignee for the bug.