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 CENTOS
libssh2_banner_set
libssh2_banner_set(3) libssh2 manual libssh2_banner_set(3)
NAME
libssh2_banner_set - set the SSH prococol banner for the local client
SYNOPSIS
#include <libssh2.h>
int libssh2_banner_set(LIBSSH2_SESSION *session, const char *banner);
DESCRIPTION
This function is DEPRECATED. Use libssh2_session_banner_set(3) instead!
session - Session instance as returned by libssh2_session_init_ex(3)
banner - A pointer to a user defined banner
Set the banner that will be sent to the remote host when the SSH session is started with libssh2_session_handshake(3)
This is optional; a banner corresponding to the protocol and libssh2 version will be sent by default.
RETURN VALUE
Return 0 on success or negative on failure. It returns LIBSSH2_ERROR_EAGAIN when it would otherwise block. While LIBSSH2_ERROR_EAGAIN is a
negative number, it isn't really a failure per se.
AVAILABILITY
Marked as deprecated since 1.4.0
ERRORS
LIBSSH2_ERROR_ALLOC - An internal memory allocation call failed.
SEE ALSO
libssh2_session_handshake(3)
libssh2 0.15 1 Jun 2007 libssh2_banner_set(3)