Results 1 to 5 of 5
Is there any way to force a ssh server accept connections using V1 as default?
I recently changed my sshd_config to allow Protocol 1,2 and now all my V1 ssh ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-05-2010 #1Just Joined!
- Join Date
- Apr 2010
- Posts
- 2
Force sshd to default to Protocol 1
Is there any way to force a ssh server accept connections using V1 as default?
I recently changed my sshd_config to allow Protocol 1,2 and now all my V1 ssh and scp connection requests need a -1 argument or I get a "permission denied" message.
Is there a way to do the reverse i.e. let the server accept Protocol 1 by default and forcing me to ssh -2 and scp -2 when I want to use Protocol V2?
Thanks!
- 05-06-2010 #2Just Joined!
- Join Date
- Jul 2005
- Posts
- 7
No, this is not possible. V1 is considered insecure(it can be decoded in real time with Ettercap) and client utilities will try to not use it whenever possible.
However, if you wanted to you can change the client config file (ssh_config) to use V1.
Out of curiosity, what are you gaining by running V1?
- 05-06-2010 #3Just Joined!
- Join Date
- Mar 2008
- Location
- earth
- Posts
- 3
default to ssh v1
the simple answer, I believe, is to uncomment the following line in /etc/ssh/sshd_config
#Protocol 2,1
and change the order to 1,2
HOWEVER.....
The point made in the previous post is very important...v1 is insecure...it's dangerous...using ssh v1 is like not using ssh at all...yes, it's that serious.
You would be well advised to modify all operations that currently use v1, and update them to use v2.
- 05-06-2010 #4Just Joined!
- Join Date
- Mar 2008
- Location
- earth
- Posts
- 3
opps...
I really should check my facts before I post...
according to the man page for sshd_config, that line will not impact the default protocol.
Sorry.
The other points still stand, however.
- 05-07-2010 #5Just Joined!
- Join Date
- Jul 2005
- Posts
- 7


Reply With Quote

