Hi *, sorry, sorry for mailing to the List, but seife@community4you.de accepts no mail from MTA behind NAT-GW. ;-(( (Checks the HELO-String, as if this would help anything.) Greetings Dirk Following for seife@community4you.de: Hi, das letzte Mal der Umweg über die Liste. Stefan Seyfried schrieb:
On Sun, Jul 20, 2003 at 12:49:12AM +0200, Dirk Schreiner wrote:
As usual this is done in known_hosts. To force a single Command in in the Key just add the command as shown in front of the Key in the same Line in known_hosts.
s/known_hosts/authorized_keys/
Danke.
command="ssh -l user Server.com" ...key..
and on server.com also allow only one command. This can be tricky, if you have varying options but i solved this by using a perl wrapper for rsyncing my servers onto the backup machine.
Es war der Sinn nur den einen ssh --> intern zu ermöglichen, wo ein vollwertiger ssh-Zugang bereitgestellt wird. Extern hat jeder User sein eigenes Key-Paar. Für einen auf 3 spezifische Befehle eingeschränkten ssh-Zugang macht der Perl-Wrapper aber wirklich Laune ;-)
Dr. Christoph Wegener schrieb:
btw, *please* http://learn.to/quote
UPS, wer solche Links mailt, sollte nicht in der Zeile drüber einen Quoting-Fehler machen. ;-^ Gruss Dirk P.S. Zitateinleitungen ohne Zitat sollten vermieden werden.