Hi,
when I try to connect to Solaris 11.1 host, ssh connection have two long ( 10 or more seconds ) delays.
I checked dns settings ( nslookup answers instantly with or without domain name, and dig is answering only with domain name after host name ).
I've trying to increase verbosity of sshd server and I changer "LogLevel info" to "LogLevel DEBUG" in /etc/ssh/sshd_config, and restarted sshd with "svcadm restart network/ssh:default" and see in log ( /var/svc/log/network-ssh:default.log ) that ssh is restarted. But I don't see ssh logs in any log file ( /var/log, /var/adm ). I have "SyslogFacility auth" and cant be sure where this should be written. In man page for sshd_config, this can be :DAEMON, USER, AUTH, LOCAL0,.... Can anyone suggest how to set some custom location? "SyslogFacility LOCAL1 ...."
On AIX when I have same exact problem, I only need to specify that dns-client on ssh server need to use dns4 for host resolving. Hov can I setup this on Solaris? Can I put something like this:
svc:/system/name-service/switch> setprop config/host = astring: "files dns4"
in config?
I've tried to "snoop" some trafic from dns-client/ssh server to dns-server with "snoop -I net0 -r -o dns_client.pcap host dns_server" but nothing captured.
Can anyone suggest some hints?
Regards