为什么 ssh 无法从 .ssh/config 扩展 %h?这曾经有效并且仍然有效,除了在 RHEL 盒子上。寻找这可能是什么起源。是否有某个设置告诉 ssh 不要扩展 %h?
我的 .ssh/config 中有这样的东西:
Host *.foo
HostName %h.mydomain.com
Run Code Online (Sandbox Code Playgroud)
在这不起作用的 RHEL 盒子上,我得到了这个:
$ ssh -vvvv bar.foo
OpenSSH_5.3p1, OpenSSL 1.0.0-fips 29 Mar 2010
debug1: Reading configuration data /home/zsimic/.ssh/config
debug1: Applying options for *.foo
debug1: Applying options for *.foo
debug1: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
ssh: Could not resolve hostname %h.mydomain.com: Name or service not known
Run Code Online (Sandbox Code Playgroud) 您知道是否有办法让 Windows 资源管理器在其后退按钮下拉列表中显示完整路径?(而不是只显示文件夹的最后一部分)。
在上面的屏幕截图中,我希望在显示历史记录的下拉列表中看到的是:
当一个人导航完所有其他位置,并且当有多个相似的文件夹名称来自不同的不相关位置时,这将非常有用......