Re: KPackage cannot connect to localhost port 22

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



to allow root to your xsession try typing the following command as you
 xhost +

this will grant anyone from anywhere acess to your xsession

don't worry, as soon as you log out it will go back to whatever the default was.

On 5/12/06, Never you mind <scrpt@xxxxxxxxxxxx> wrote:

On 12/05/2006, at 7:35 PM, Robin Atwood wrote:

> On Friday 12 May 2006 12:18, Never you mind wrote:
>>
>> On 11/05/2006, at 11:22 PM, Robin Atwood wrote:
>>
>>> On Thursday 11 May 2006 11:22, Never you mind wrote:
>>>> On 11/05/2006, at 1:11 AM, Justin Denick wrote:
>>>>> Some boxes don't allow root to gain ssh access. Smart idea in my
>>>>> opinon.
>>>>
>>>> Right. I can see what your saying. It's a bit annoying that KPackage
>>>> throws an error instead of providing an informational response, eg,
>>>> "Access denied. Configure sshd on this machine to allow root access
>>>> via
>>>> SSH protocol".
>>>>
>>>>> Look at the sshd.conf file and comment out the line preventing root
>>>>> ssh access.
>>>>
>>>> I can see /etc/ssh/sshd_config. I set PermitRootLogin to 'yes' and
>>>> uncommented it.
>>>
>>> Can you 'ssh root@localhost' from a console?
>>
>> No, I can't
>>
>>> If not, have you got 'sshd:
>>> LOCAL' in '/etc/hosts.allow'?
>>
>> The first line of /etc/hosts.allow says:
>>
>> ALL : ALL : allow
>>
>> that should cover  it shouldn't it?
>
> I would have thought so. Port 22 blocked by iptables? Try 'iptables -L
> -v'.
> Also when you try to login, check /var/log/messages and
> /var/log/secure (or
> equivalent on your distro).

I don't have iptables, it doesn't seem to be in ports either. I'm
running FreeBSD.

malcolm

___________________________________________________
.
Account management:  https://mail.kde.org/mailman/listinfo/kde .
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.



--
Got Gentoo?

It usually takes more than three weeks to prepare a good impromptu speech.
                -- Mark Twain
___________________________________________________
.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux