Supportnet Computer
Planet of Tech

Supportnet / Forum / Linux

ssh Problem mit .shosts





Frage

Hi, ich will von Host A auf Host B per SSH und dabei kein Passwort eigeben müssen. Das Ganze allerdings nur mit EINEM User (ansonsten müsste ich ja nur den HostA in hosts.equiv eintragen). In der man-Page steht Folgendes: First, if the machine the user logs in from is listed in /etc/hosts.equiv or /etc/shosts.equiv on the remote machine, and the user names are the same on both sides, the user is immediately permitted to log in. Second, if .rhosts or .shosts exists in the user's home directory on the remote machine and contains a line containing the name of the client machine and the name of the user on that machine, the user is permitted to log in. This form of authentication alone is normally not allowed by the server because it is not secure. Habe also auf HostB im Homeverzeichnis des Users, als der ich mich einloggen will in der .shosts den HostA und den Namen des Users (der sich von HostA aus connecten will) eingetragen. Trotzdem gehts nicht. Permissions stimmen aber so weit. Kennt jemand das Problem? Worüber ich noch grüble ist auch das hier: This form of authentication alone is normally not allowed by the server because it is not secure. Muss man das irgendwie/irgendwo noch zusätzlich erlauben? Logge mich so ein: USERXY:HOSTA> ssh -l USERAB HOSTB BIn für jeden Tipp dankbar. Danke.

Antwort 1 von Trullala

http://www.onsight.com/faq/ssh/ssh-faq-4.html#ss4.4

Ich möchte kostenlos eine Frage an die Mitglieder stellen:


Ähnliche Themen:


Suche in allen vorhandenen Beiträgen: