mirror of
https://github.com/duncs/clusterssh.git
synced 2025-04-22 09:22:24 +00:00
Ensure loading of host defs in ssh config file is case insensitive
This commit is contained in:
parent
2a5fc7e686
commit
fca92a477b
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-01-23 Duncan Ferguson <duncan_ferguson@user.sf.net> - v3.23-1
|
||||
|
||||
* Apply bugfix supplied by Jima
|
||||
- Ensure loading of hosts from user ssh config file is case insensitive
|
||||
|
||||
2008-01-23 Duncan Ferguson <duncan_ferguson@user.sf.net> - v3.22-1
|
||||
|
||||
* Update X resources class to allow use of terms other than XTerm
|
||||
|
|
|
@ -371,7 +371,7 @@ sub check_ssh_hostnames {
|
|||
|
||||
if ( -r $ssh_config && open( SSHCFG, "<", $ssh_config ) ) {
|
||||
while (<SSHCFG>) {
|
||||
next unless (m/^\s*host\s+([\w\.-]+)/);
|
||||
next unless (m/^\s*host\s+([\w\.-]+)/i);
|
||||
$ssh_hostnames{$1} = 1;
|
||||
}
|
||||
close(SSHCFG);
|
||||
|
|
Loading…
Add table
Reference in a new issue