Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Oct 2001 17:36:01 -0500
From:      "Kutulu" <kutulu@kutulu.org>
To:        <freebsd-questions@freebsd.org>
Subject:   Two sshd questions...
Message-ID:  <003901c16000$ee0b0290$88682518@longhill1.md.home.com>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_0035_01C15FD7.034140E0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Two (unrelated) questions regarding ssh, and OpenSSH in particular:

1. Is there a way to prevent the ssh client from overriding options in
/etc/ssh/ssh_config?  Specifically, I run a very restricted machine from my
jobsite and only have ssh access allowed for about 5 people.  I'm very
concerned about security here, so I have options like StrictHostKeyChecking
turned on.  However, users can override this with the '-o' option in the ssh
client.  I'm concerned that they will become used to overriding my options
and not pay attention the one time their remote hostkey really is wrong.  Is
there anything I can do to stop this?  Even better, can I permit them to
override only a subset of options?

2. A more 'best practices' questions:  Which is the preferred version of ssh
to be running?  By preferred I'm speaking strictly from a security
standpoint.  Current I have only sshv2 permitted on the server (though
again, the users can force sshv1 in their clients).  Most sites seem to be
running both, but there are a few that only run sshv1 servers.  Whenever I
ask, I hear conflicting reports as to their relative security.  Some people
say sshv2 is more secure, some people say sshv2 is buggy and only sshv1 is
stable, some people complain that DSA isn't as secure as RSA and thus
shouldn't be used.  Trying to track down real facts about this revealed
problem reports of ssh2 daemons running in ssh1 mode, (which is why I turned
that off) but not much else.  Any pointers?

--K


------=_NextPart_000_0035_01C15FD7.034140E0
Content-Type: application/x-pkcs7-signature;
	name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIII3jCCAnww
ggHloAMCAQICAwW08DANBgkqhkiG9w0BAQIFADCBkjELMAkGA1UEBhMCWkExFTATBgNVBAgTDFdl
c3Rlcm4gQ2FwZTESMBA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IDIwMDAuOC4zMAIDBbTwMAkGBSsOAwIaBQCggbowGAYJ
KoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDExMDI4MjIzNjAxWjAjBgkq
hkiG9w0BCQQxFgQUnHpvKbCh1Q44B4TtuDizdQj7xi8wWwYJKoZIhvcNAQkPMU4wTDAKBggqhkiG
9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZIhvcNAwICAUAwBwYFKw4DAgcwDQYIKoZIhvcNAwIC
ASgwBwYFKw4DAh0wDQYJKoZIhvcNAQEBBQAEgYAJpX0xHN4s+5h3Owen0aNCjWnbC6AplvfixySn
ORRfKyU8N7W+2GK0k8BFpeva7Dov9+lkvypz4OH7ejzux4o4bIebwGXaBivLsgvPswE6iPEe3A5Z
RmHzmzovOsBVLmXGOpWwgvi+Txrj0bYt3lGxbhA/MIc8oIk5qx/5iIrW5AAAAAAAAA==

------=_NextPart_000_0035_01C15FD7.034140E0--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003901c16000$ee0b0290$88682518>