04-11-2011
As Nevyn showed, if you set "Protocol = 2" in the /etc/ssh/sshd_config, your server will only support clients connecting using protocol 2. This is probably what you want.
If you set "Protocol = 2" in the /etc/ssh/ssh_config, then the ssh client on your box will only be able to connect to remote servers using protocol 2. If on the off chance you try to connect to a box that only supports protocol 1, your client wouldn't be able to connect. For that reason alone, I don't set the protocol version here.
9 More Discussions You Might Find Interesting
1. Solaris
Which version of SSH is this
ssh -V
SSH Version Sun_SSH_1.0, protocol versions 1.5/2.0. (2 Replies)
Discussion started by: csaunders
2 Replies
2. UNIX for Advanced & Expert Users
have installed a Network Management System at HP and when I tried to connect to Sun for Extractor function, it shows" incompatible protocol version:3". What does it mean? How to slove the problem?
Thanks a lot, Emily (1 Reply)
Discussion started by: yaoww
1 Replies
3. Solaris
Hi,
I want to know the command to know ssh version on solaris (1 Reply)
Discussion started by: manoj.solaris
1 Replies
4. Solaris
I just been audited and one the recommendations is to hide the SSH version or give fake information.
I went to openssh.com they don't seem to have any info on how to fix this :confused:
Anybody knows how the heck can I hide the SSH version? The part which says
# telnet localhost 22... (19 Replies)
Discussion started by: sparcguy
19 Replies
5. Solaris
Friends/Gurus
Can anybody let me know how to check Http Protocol version in Solaris and in AIX?
Thanks (1 Reply)
Discussion started by: efunds
1 Replies
6. UNIX for Dummies Questions & Answers
I have 3 Solaris 10 UNIX servers, the shadow and passwd file are all identical and are automatically sync every 5 minutes. A majority of the users do not have CLI access but rather use a menu. I currently have menu options that allows them to rlogin to another server and I need to have the... (1 Reply)
Discussion started by: creedonjm
1 Replies
7. Cybersecurity
Hello. My security audit reconise SSH 1.99 protocol version allowed.
But in my sshd_config config is only:
SSH version:
How can I disable support for ssh protocol 1.99 version? (1 Reply)
Discussion started by: jabalv
1 Replies
8. IP Networking
Hi guys please help with the following.
$ssh -1 -vvv -l username -o "ForwardX11 yes" server.name netscape
OpenSSH_5.8p1, OpenSSL 0.9.8r 8 Feb 2011
debug2: ssh_connect: needpriv 0
debug1: Connecting to server.address port 22.
debug1: Connection established.
debug1: identity file... (1 Reply)
Discussion started by: llcooljatt
1 Replies
9. UNIX and Linux Applications
Hi there,
I learnt about a case where SSH-1.99 is supported by SSH service, both SSH 1.5 and 2.0 is special.
Btw, I want to know what kind of authentication mechanism are supported by SSH, here is what I thought of:
Public/ Private Key Pair
Password Authentication (1 Reply)
Discussion started by: alvinoo
1 Replies
LEARN ABOUT POSIX
ssh-keysign
ssh-keysign(1M) ssh-keysign(1M)
NAME
ssh-keysign - ssh helper program for host-based authentication
SYNOPSIS
ssh-keysign
ssh-keysign is used by ssh(1) to access the local host keys and generate the digital signature required during host-based authentication
with SSH protocol version 2. This signature is of data that includes, among other items, the name of the client host and the name of the
client user.
ssh-keysign is disabled by default and can be enabled only in the global client configuration file /etc/ssh/ssh_config by setting Host-
basedAuthentication to yes.
ssh-keysign is not intended to be invoked by the user, but from ssh. See ssh(1) and sshd(1M) for more information about host-based authen-
tication.
/etc/ssh/ssh_config
Controls whether ssh-keysign is enabled.
/etc/ssh/ssh_host_dsa_key
/etc/ssh/ssh_host_rsa_key
These files contain the private parts of the host keys used to generate the digital signature. They should be owned by root, readable
only by root, and not accessible to others. Because they are readable only by root, ssh-keysign must be set-uid root if host-based
authentication is used.
ssh-keysign will not sign host-based authentication data under the following conditions:
o If the HostbasedAuthentication client configuration parameter is not set to yes in /etc/ssh/ssh_config. This setting cannot be overri-
den in users' ~/.ssh/ssh_config files.
o If the client hostname and username in /etc/ssh/ssh_config do not match the canonical hostname of the client where ssh-keysign is
invoked and the name of the user invoking ssh-keysign.
In spite of ssh-keysign's restrictions on the contents of the host-based authentication data, there remains the ability of users to use it
as an avenue for obtaining the client's private host keys. For this reason host-based authentication is turned off by default.
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWsshu |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
ssh(1), sshd(1M), ssh_config(4), attributes(5)
AUTHORS
Markus Friedl, markus@openbsd.org
HISTORY
ssh-keysign first appeared in Ox 3.2.
9 Jun 2004 ssh-keysign(1M)