[CentOS-de] ssh login

Oliver Hausmann oliver.hausmann at securepoint.de
Mo Jun 18 07:52:53 EDT 2012


Gerne. Danke für die Rückmeldung und viel Spaß.

Gruß

Oliver

Am 2012-06-18 13:51, schrieb Oliver Wiemer:
> du bist der größte.
>
> [root at cleopatra selinux]# chmod 700 /home/oliver/.ssh/
> [root at cleopatra selinux]# chmod 600 /home/oliver/.ssh/authorized_keys
> [root at cleopatra selinux]# restorecon -R -v /home/oliver/.ssh/
> [root at cleopatra selinux]#
>
> und es geht
>
>
>
> Am 18.06.12 13:46 schrieb "Oliver Hausmann" unter
> <oliver.hausmann at securepoint.de>:
>
>>Dann könnte es daran liegen. Lies mal diesen Thread:
>>
>>https://www.centos.org/modules/newbb/viewtopic.php?topic_id=32110&forum=55
>>
>>Bei Deinen Debian Maschinen ist es sicher deaktiviert oder nicht
>>installiert.
>>
>>Gruß
>>
>>Oliver
>>
>>Am 2012-06-18 13:43, schrieb Oliver Wiemer:
>>> [root at cleopatra selinux]# sestatus
>>> SELinux status:                 enabled
>>> SELinuxfs mount:                /selinux
>>> Current mode:                   enforcing
>>> Mode from config file:          enforcing
>>> Policy version:                 24
>>> Policy from config file:        targeted
>>>
>>> LG Olli
>>>
>>>
>>> Am 18.06.12 13:42 schrieb "Oliver Hausmann" unter
>>> <oliver.hausmann at securepoint.de>:
>>>
>>>>sestatus
>>>>
>>>>Gruß
>>>>
>>>>Oliver
>>>>
>>>>Am 2012-06-18 13:40, schrieb Oliver Wiemer:
>>>>> Gute Frage.
>>>>> wie kann ich das herausfinden?
>>>>>
>>>>>
>>>>>
>>>>> Am 18.06.12 13:30 schrieb "Oliver Hausmann" unter
>>>>> <oliver.hausmann at securepoint.de>:
>>>>>
>>>>>>600 ist korrekt. Läuft das SELinux?
>>>>>>
>>>>>>Gruß
>>>>>>
>>>>>>Oliver
>>>>>>
>>>>>>Am 2012-06-18 13:25, schrieb Oliver Wiemer:
>>>>>>> Nein, leider nicht.
>>>>>>>
>>>>>>> [oliver at cleopatra Nuernberg]$ ls -l /home/oliver/.ssh/
>>>>>>> insgesamt 4
>>>>>>> -rw-r--r--. 1 oliver oliver 614 15. Jun 15:46 authorized_keys
>>>>>>> [oliver at cleopatra Nuernberg]$
>>>>>>>
>>>>>>> kann es sein, dass ich nicht den selben usernamen nehmen darf??
>>>>>>>
>>>>>>>
>>>>>>> Bei den Debian kisten geht es überall
>>>>>>> Es ist zum auswachsen.
>>>>>>>
>>>>>>> Danke für Deine Hilfe.
>>>>>>>
>>>>>>> LG Olli
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Am 18.06.12 13:18 schrieb "Tim Harsdorf" unter
>>>>>>> <mail at timharsdorf.de>:
>>>>>>>
>>>>>>>>Setze mal die authorized_keys Berechtigung auf 644.
>>>>>>>>
>>>>>>>>On 06/18/2012 01:14 PM, Oliver Wiemer wrote:
>>>>>>>>> Gerne
>>>>>>>>>
>>>>>>>>> [oliver at cleopatra Nuernberg]$ ls -l /home/oliver/.ssh/
>>>>>>>>> insgesamt 4
>>>>>>>>> -rw-------. 1 oliver oliver 614 15. Jun 15:46 authorized_keys
>>>>>>>>> [oliver at cleopatra Nuernberg]$
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Am 18.06.12 13:13 schrieb "Tim Harsdorf"
>>>>>>>>> unter<mail at timharsdorf.de>:
>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> poste mal ein ls -l /home/oliver/.ssh/
>>>>>>>>>>
>>>>>>>>>> VG
>>>>>>>>>>
>>>>>>>>>> On 06/18/2012 01:02 PM, Oliver Wiemer wrote:
>>>>>>>>>>> Hallo Leute,
>>>>>>>>>>>
>>>>>>>>>>> ich habe den authoritzed Key in .ssh gepackt.
>>>>>>>>>>>
>>>>>>>>>>> Bei root sowie auch bei meinem User.
>>>>>>>>>>>
>>>>>>>>>>> ssh root at kiste.local geht.
>>>>>>>>>>> ssh oliver at kiste.local geht nicht.
>>>>>>>>>>> Da kommt immer eine Passwortabfrage.
>>>>>>>>>>>
>>>>>>>>>>> Hat jemand eine Ahnung an was das liegt?
>>>>>>>>>>>
>>>>>>>>>>> Habe hier aktuell centos-release-6-2.el6.centos.7.x86_64
>>>>>>>>>>>
>>>>>>>>>>> __________________________________________
>>>>>>>>>> CentOS-de mailing list
>>>>>>>>>> CentOS-de at centos.org
>>>>>>>>>> http://lists.centos.org/mailman/listinfo/centos-de
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>--
>>>>>>>>_______________________________________________
>>>>>>>>CentOS-de mailing list
>>>>>>>>CentOS-de at centos.org
>>>>>>>>http://lists.centos.org/mailman/listinfo/centos-de
>>>>>>
>>>>>>--
>>>>>>_______________________________________________
>>>>>>CentOS-de mailing list
>>>>>>CentOS-de at centos.org
>>>>>>http://lists.centos.org/mailman/listinfo/centos-de
>>>>--
>>>>_______________________________________________
>>>>CentOS-de mailing list
>>>>CentOS-de at centos.org
>>>>http://lists.centos.org/mailman/listinfo/centos-de
>>--
>>_______________________________________________
>>CentOS-de mailing list
>>CentOS-de at centos.org
>>http://lists.centos.org/mailman/listinfo/centos-de