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

Re: OpenSSH, set the option 'Protocol' to '2' ?? How to do



On Tue, 2005-05-10 at 10:58 -0700, Leuy Eeelyu wrote:
> > Put "Protocol 2" in your ssh_options file.  The
> > default RHEL 3 is 
> > "2,1", which means it will try 2 first and then fall
> > back to 1.
> 
> Sorry just found my box is FC3 but I hope it is the
> same.  Thanks I think I found /etc/ssh/sshd_config ,
> the config file and change from "#Protocol 2,1"
> (initially was comment out, to --> "Protocol 2"  See
> below
> 
> #Port 22
> #protocol 2,1 
> Protocol 2
> #ListenAddress 0.0.0.0
> 
> After that I restarted sshd service.  But how do I
> prove to people that I am using openssh protocol 2
> instead of 1??  
> 
> I did the following command, it still show me as same
> rpm name, I thought it will change to 3.9p2-xxxx  ??  
> 
> [root@ ssh]# rpm -aq | grep openssh-server
> openssh-server-3.9p1-7

[tobias dr-ws ~]$ telnet localhost 22
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
SSH-1.99-OpenSSH_3.9p1
^]

telnet> q
Connection closed.
[tobias dr-ws ~]$ sudo vi /etc/ssh/sshd_config
[tobias dr-ws ~]$ sudo /sbin/service sshd restart
Stopping sshd:                                             [  OK  ]
Starting sshd:                                             [  OK  ]
[tobias dr-ws ~]$ telnet localhost 22
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
SSH-2.0-OpenSSH_3.9p1
^]

telnet> q
Connection closed.


Note the string returned from ssh daemon ( Protocol_Version-
Software_Version).
The first connection was made before i changed sshd_config to only
support protocol 2.

The second connection was made to the sshd daemon only supporting v 2.

Hope this helps,

Tobias
> 
> 
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> --
> Taroon-list mailing list
> Taroon-list redhat com
> http://www.redhat.com/mailman/listinfo/taroon-list


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