Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Solaries 11.1 ssh is slow

tomislakJun 20 2016 — edited Jun 21 2016

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

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 19 2016
Added on Jun 20 2016
4 comments
1,502 views