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

Re: ssh, rsh, rlogin, rsync aber wie?



On 16.02.2012 22:20, Martin Steigerwald wrote:
Am Donnerstag, 16. Februar 2012 schrieb Heiko Schlittermann:
Mein Wunsch wäre, ob jemand hier in der Liste die wesentlichen
Elemente einer funktionierenden /etc/ssh_config posten könnte.
     # This is the ssh client system-wide configuration file.  See
     # ssh_config(5) for more information.  This file provides defaults
for # users, and the values can be changed in per-user configuration
files # or on the command line.

     # Configuration data is parsed as follows:
     #  1. command line options
     #  2. user-specific file
     #  3. system-wide file
     # Any configuration value is only changed the first time it is set.
     # Thus, host-specific definitions should be at the beginning of the
     # configuration file, and defaults at the end.

     # Site-wide defaults for some commonly used options.  For a
comprehensive # list of available options, their meanings and
defaults, please see the # ssh_config(5) man page.

     Host *
     #   ForwardAgent no
[…]
     #   ProxyCommand ssh -q -W %h:%p gateway.example.com
         SendEnv LANG LC_*
         HashKnownHosts yes
Ich hab das zwar auch an, wer aber in der ~/.ssh/known_hosts lieber die
Hostnamen im Klartext sehen möchte, und damit das Risiko eingeht, dass
jemand, der diese Datei einsehen kann, weiß, wo er sich mit SSH überall
hinverbunden hat, schaltet diese Option aus.

         GSSAPIAuthentication yes
         GSSAPIDelegateCredentials no
Ansonsten ist das ja der Ausgangszustand der Datei, wenn man nichts dran
geändert hat. Und wie sie Hugo ja wohl jetzt nicht mehr hat ;).
Doch, natürlich habe ich die Originaldatei vor dem Editieren gesichert.
Was ich aber nicht mehr habe and an was ich gar nicht gedacht hatte, (weil nicht bewußt direkt händisch geändert,) das ist die

/etc/ssh/sshd_config

Vielen Dank soweit
Hugo


Reply to: