Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SSH & SFTP config on Solaris 9 1

Status
Not open for further replies.

SuperJan

IS-IT--Management
Mar 26, 2004
23
GB
We are testing sftp but when we tried to send a file to our remote site this error appeared:

unable to initialize mechanism library [/usr/lib/gss/gl/mech_krb5.so]
xmalloc: zero size
lost connection

We checked for similar errors and a suggestion was to add the following lines to /etc/ssh/ssh_config and sshd_config files and after doing so it appeared to work.

To /etc/ssh/ssh_config add:

GSSAPIAuthentication=no
GSSAPIKeyExchange=no
StrictHostKeyChecking no

To /etc/ssh/sshd_config add:

GSSAPIAuthentication=no
GSSAPIKeyExchange=no

Then restart ssh:

/etc/init.d/sshd restart

Can you tell me what these parameters are doing and how we resolve our problem if we take them back out?

Thanks in advance
 
Do you use Kerberos authentication at your site (note the _krb5 in the library filename)? If not, I don't think it is doing any harm to disable those options, however personally I wouldn't disable StrictHostKeyChecking unless you really need to.

Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top