public void testAlias_OptionsInherit() throws Exception {
config("Host orcz\n" + "\tHostName repo.or.cz\n" + "\n" + "Host *\n"
+ "\tHostName not.a.host.example.com\n" + "\tPort 2222\n"
+ "\tUser jex\n" + "\tIdentityFile .ssh/id_jex\n"
+ "\tForwardX11 no\n");
final Host h = osc.lookup("orcz");
assertNotNull(h);
assertEquals("repo.or.cz", h.getHostName());
assertEquals("jex", h.getUser());
assertEquals(2222, h.getPort());
assertEquals(new File(home, ".ssh/id_jex"), h.getIdentityFile());
}