Firefox 16, a treat for developers http://t.co/cnd27CzT
ssh slow connection to solaris 10 and 11
Question: ssh slow connection to solaris 10 and 11 hosts , how to solve this ?
Answer : Normally in Linux hosts we solve ssh delay issue by disabling most of the server-side lookups by setting UseDNS no in sshd_config. This solution doesn`t seem to work in Unix based systems.
let give a verbose connexion example between my Ubuntu and Solaris 11 :
pirat9@HP ~ $ ssh -v pirat9@192.168.1.134 OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug1: Connecting to 192.168.1.134 [192.168.1.134] port 22. debug1: Connection established. debug1: identity file /home/pirat9/.ssh/id_rsa type 1 debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048 debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048 debug1: identity file /home/pirat9/.ssh/id_rsa-cert type -1 debug1: identity file /home/pirat9/.ssh/id_dsa type -1 debug1: identity file /home/pirat9/.ssh/id_dsa-cert type -1 debug1: identity file /home/pirat9/.ssh/id_ecdsa type -1 debug1: identity file /home/pirat9/.ssh/id_ecdsa-cert type -1 debug1: Remote protocol version 2.0, remote software version Sun_SSH_1.5 debug1: no match: Sun_SSH_1.5 debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-ctr hmac-md5 none debug1: kex: client->server aes128-ctr hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY debug1: Server host key: RSA c8:05:c3:8a:80:47:3b:9b:e1:e1:a2:c8:90:ff:93:e1 debug1: Host '192.168.1.134' is known and matches the RSA host key. debug1: Found key in /home/pirat9/.ssh/known_hosts:6 debug1: ssh_rsa_verify: signature correct debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: Roaming not allowed by server debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: gssapi-keyex,gssapi-with-mic,publickey,password,keyboard-interactive debug1: Next authentication method: gssapi-keyex debug1: No valid Key exchange context debug1: Next authentication method: gssapi-with-mic
you can prevent SSH from trying GSS API Authentication. Just add the the following option :
ssh -o GSSAPIAuthentication=no -l user hostname
Or add to sshd_config
Host hostname GSSAPIAuthentication no LookupClientHostnames no VerifyReverseMapping no
Restart SSH Server
#svcadm disable ssh #svcadm enable ssh OR # svcadm restart ssh
Try to connect again :
pirat9@HP ~ $ ssh -v -o GSSAPIAuthentication=no -l pirat9 192.168.1.134 OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug1: Connecting to 192.168.1.134 [192.168.1.134] port 22. debug1: Connection established. debug1: identity file /home/pirat9/.ssh/id_rsa type 1 debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048 debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048 debug1: identity file /home/pirat9/.ssh/id_rsa-cert type -1 debug1: identity file /home/pirat9/.ssh/id_dsa type -1 debug1: identity file /home/pirat9/.ssh/id_dsa-cert type -1 debug1: identity file /home/pirat9/.ssh/id_ecdsa type -1 debug1: identity file /home/pirat9/.ssh/id_ecdsa-cert type -1 debug1: Remote protocol version 2.0, remote software version Sun_SSH_1.5 debug1: no match: Sun_SSH_1.5 debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-ctr hmac-md5 none debug1: kex: client->server aes128-ctr hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY debug1: Server host key: RSA c8:05:c3:8a:80:47:3b:9b:e1:e1:a2:c8:90:ff:93:e1 debug1: Host '192.168.1.134' is known and matches the RSA host key. debug1: Found key in /home/pirat9/.ssh/known_hosts:6 debug1: ssh_rsa_verify: signature correct debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: Roaming not allowed by server debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: gssapi-keyex,gssapi-with-mic,publickey,password,keyboard-interactive debug1: Next authentication method: publickey debug1: Offering RSA public key: /home/pirat9/.ssh/id_rsa debug1: Authentications that can continue: gssapi-keyex,gssapi-with-mic,publickey,password,keyboard-interactive debug1: Trying private key: /home/pirat9/.ssh/id_dsa debug1: Trying private key: /home/pirat9/.ssh/id_ecdsa debug1: Next authentication method: keyboard-interactiv
pirat9@solaris11:~$ uname -a SunOS solaris11 5.11 snv_151a i86pc i386 i86pc Solaris pirat9@solaris11:~$
For questions please refer to our Q/A forum at : http://ask.unixmen.com
Like us on Facebook
This week Top Posts 
Top Things to do After Installing Ubuntu 13.04 ‘Raring Ringtail’ : Ubuntu 13.04 Raring Ringtail final is almost out. The final release it scheduled for release on Apri...0 comment(s) |
Install lamp with 1 command in Ubuntu 12.10, 13.04 Raring Ringtail & LinuxMint13 : Updated: 10/09/2012 :LAMP (Linux, Apache, MySQL and PHP) is an open source Web development platform ...0 comment(s) |
Howto: Upgrade to Ubuntu 13.04 Raring Ringtail from 12.04, 12,10 | Desktop & Server : Updated 05-04-2013: Ubuntu 13.04 Raring Ringtail will be released Soon, If you have ubuntu 12,10, 12...0 comment(s) |
Steganography- Hide Your Files Inside An Image in Linux : Nowadays, our personal computer is not only a work tool, it is also our private space where we sto...5 comment(s) |
How to use Remote Desktop in Ubuntu : Sometimes, we need to access our computer from other locations when we’re not at home and such. This...0 comment(s) |
Configure conky-Lua in Ubuntu (12.10 & 13.04 Raring Ringtail), Fedora, debian and LinuxMint | Howto Conky : Updated 05-04-2013: Conky is a free, light-weight system monitor for X, that displays any informatio...0 comment(s) |
Recent Posts
Recent Posts
- Steganography- Hide Your Files Inside An Image in Linux
- Unix/Linux File Recognition. Did You Know?
- Migrate from MySQL to MariaDB in FreeBSD
- Connect Your Android Galaxy Tablet to Ubuntu via USB
- ElementaryOS Beta 1 and 2 Comparison and Review
- Introduction to the Linux Command Line
- A Secure Password
- Linux Kernel 3.10. It’s BIG!
- Monitoring Users Activity Using psacct or acct Tools in Linux
- Run Your Own Social Network Using elgg on RHEL / CentOS and Scientific Linux
Recent Comments

Maintained by
Anblik
.


















jacky can
| #
You can actually unzip your secret archive by leaving out the -t option, instead using:
unzip newPhoto.jpg
DragonFartOutLoud
| #
it went to china.
DragonFartOutLoud
| #
great review! i’ve been using it as my main OS since Beta 1 release. its been a awesome ride so far :)
jet li
| #
i try the method, and i unzip the image contain zip secret, i dont find the file that i was hide, where it go? and how to open it? :s
zinovsky
| #
Yes, it is possible using Steganography, we will post another quick howto do that in the next few days