[Bug 3796] %tokens and environment variables are not expanded within `Include` statements
    bugzilla-daemon at mindrot.org 
    bugzilla-daemon at mindrot.org
       
    Fri Feb 28 19:51:37 AEDT 2025
    
    
  
https://bugzilla.mindrot.org/show_bug.cgi?id=3796
Darren Tucker <dtucker at dtucker.net> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dtucker at dtucker.net
         Resolution|DUPLICATE                   |---
             Status|RESOLVED                    |REOPENED
--- Comment #2 from Darren Tucker <dtucker at dtucker.net> ---
I don't think that's a duplicate of bug#3477, but I also don't see the
problem you are referring to:
$ ssh -V
OpenSSH_9.9p2, OpenSSL 3.2.4 11 Feb 2025
$ echo 'Include ~/tmp/%u.include' >~/tmp/ssh_config
$ echo 'hostname seemstowork' >~/tmp/dtucker.include
$ ssh -vvv -F ~/tmp/ssh_config -G localhost | egrep '^hostname '
OpenSSH_9.9p2, OpenSSL 3.2.4 11 Feb 2025
debug1: Reading configuration data ssh_config
debug3: ssh_config line 1: Including file
/home/dtucker/tmp/dtucker.include depth 0
debug1: Reading configuration data /home/dtucker/tmp/dtucker.include
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' ->
'/home/dtucker/.ssh/known_hosts'
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' ->
'/home/dtucker/.ssh/known_hosts2'
hostname seemstowork
Can you show a minimal config that demonstrates your problem, ssh -vvv
yourserver and attach the output to this bug (using "create
attatchment")?
-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
    
    
More information about the openssh-bugs
mailing list