FallBackToRsh and UseRsh prevent the insecure r-commands from invocation by SSH without your knowledge. (These aren't present in SSH2.) The GatewayPorts value forbids remote clients from connecting to locally forwarded ports. Finally, rather than blindly connect, the StrictHostKey-Checking value warns you of any changed host keys and asks what you want to do.# SSH1, OpenSSH # Put at the top of your configuration file Host * FallBackToRsh no UseRsh no GatewayPorts no StrictHostKeyChecking ask # SSH2 only # Put at the bottom of your configuration file *: GatewayPorts no StrictHostKeyChecking ask
10.5. Key Management | 10.7. Remote Home Directories |
Copyright © 2002 O'Reilly & Associates. All rights reserved.