[SOLVED] ssh doesn't work

You have a problem with Salix? Post here and we'll do what we can to help.
pnbalaji
Posts: 99
Joined: 23. Apr 2013, 21:02

[SOLVED] ssh doesn't work

Post 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.
Last edited by pnbalaji on 25. Apr 2013, 12:07, edited 1 time in total.
User avatar
gapan
Salix Wizard
Posts: 6362
Joined: 6. Jun 2009, 17:40

Re: ssh doesn't work

Post 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
Image
Image
pnbalaji
Posts: 99
Joined: 23. Apr 2013, 21:02

Re: ssh doesn't work

Post 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.
pnbalaji
Posts: 99
Joined: 23. Apr 2013, 21:02

Re: ssh doesn't work

Post 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.
User avatar
gapan
Salix Wizard
Posts: 6362
Joined: 6. Jun 2009, 17:40

Re: ssh doesn't work

Post by gapan »

What exactly is it that is not working? Are you sure your configuration file is correct?
Image
Image
pnbalaji
Posts: 99
Joined: 23. Apr 2013, 21:02

Re: ssh doesn't work

Post 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.
User avatar
gapan
Salix Wizard
Posts: 6362
Joined: 6. Jun 2009, 17:40

Re: ssh doesn't work

Post 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...
Image
Image
pnbalaji
Posts: 99
Joined: 23. Apr 2013, 21:02

Re: ssh doesn't work

Post by pnbalaji »

Line 50 in /etc/ssh/ssh_config has the statement "GSSAPIAuthentication yes".

Thanks,
Balaji.
User avatar
gapan
Salix Wizard
Posts: 6362
Joined: 6. Jun 2009, 17:40

Re: ssh doesn't work

Post 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.
Image
Image
pnbalaji
Posts: 99
Joined: 23. Apr 2013, 21:02

Re: ssh doesn't work

Post 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.
Post Reply