Page 1 of 2

[SOLVED] ssh doesn't work

Posted: 24. Apr 2013, 10:42
by pnbalaji
Hi,

I am resolving most of the salix issues by referring to google.

I use passwordless ssh to several servers at work. So, I installed openssh from sorcery and did copy the krb5.conf and ssh_config from a work server into my local salix locations. However, when I try to connect to a server using ssh, I get the message saying "Unsupported option "GSSAPIAuthentication: line 50".

Can some one help me how to resolve this? I am also trying to find a solution, but no success yet.

Thanks,
Balaji.

Re: ssh doesn't work

Posted: 24. Apr 2013, 11:53
by gapan
pnbalaji wrote:I installed openssh from sorcery
Stop right there.

1. openssh is already installed in all salix installations, whatever the edition or the installation mode is
2. openssh is not available in sourcery

Re: ssh doesn't work

Posted: 24. Apr 2013, 12:16
by pnbalaji
Ok, may be not sure that could cause a conflict, I will try to remove the version that I installed from sourcery and see if it works.

Thanks for your reply.

Re: ssh doesn't work

Posted: 24. Apr 2013, 16:19
by pnbalaji
Hi,

Like I mentioned earlier, there was a openssh-krb5 in sourcery and I removed it. However, still it is not working.

Thanks,
Balaji.

Re: ssh doesn't work

Posted: 24. Apr 2013, 16:24
by gapan
What exactly is it that is not working? Are you sure your configuration file is correct?

Re: ssh doesn't work

Posted: 24. Apr 2013, 16:26
by pnbalaji
I get a message saying "Unsupported Option: GSSAPIAuthentication. line 50" and then it asks for the password, where it shouldn't. The config files are the ones that I copied from my previous sabayon installation and they used to work with out a glitch.

Thanks,
Balaji.

Re: ssh doesn't work

Posted: 24. Apr 2013, 16:36
by gapan
Just because they used to work in another distribution, with possibly a different version of openssh, quite probably compiled with completely different options, that doesn't mean a thing. What exactly is in your config that is causing this trouble? The error message says something about line 50...

Re: ssh doesn't work

Posted: 24. Apr 2013, 16:38
by pnbalaji
Line 50 in /etc/ssh/ssh_config has the statement "GSSAPIAuthentication yes".

Thanks,
Balaji.

Re: ssh doesn't work

Posted: 24. Apr 2013, 16:49
by gapan
I'm completely confused by your posts.

You've mentioned that you copied some server config files to your salix installation. Are you attempting to connect to a salix server (from where? ) or are you attempting to connect from a salix client to another ssh server that is not running salix? If it's the former, then why did you need the ssh_config etc configuration files? They are no use at all. But maybe I'm not understanding what's going on.

Until you clarify what's going on, I don't think I can help any further.

Re: ssh doesn't work

Posted: 24. Apr 2013, 16:57
by pnbalaji
Sorry for the confusion.

I am using my Salix laptop at work to connect to "kerberized" work servers. I took the /etc/krb5.conf from a work server and copied into my /etc as it contains the domain_realm, default_realm, kdc server details etc. The only line that is there in /etc/ssh/ssh_config is "GSSAPIAuthentication yes" to enable kerberized login into the server.

Let me know if this is still confusing.

Thanks,
Balaji.