Discussion:
How to switch SSH protocol from version 1 to version 2 in Cyclade - Beginner Question
(too old to reply)
underh20
2009-11-15 19:38:27 UTC
Permalink
Our 4-port cyclade is currently running SSHv1.68 (see below the ssh
process and sshd_config file). Due to security concern, we must
disable this version SSH v1 and upgrade/run only the SSH protocol
version 2.

Could anyone let me know how to do it without losing my SSH connection
to this Cyclade ?

Thanks,

Bill




cyclade # ps -ef | grep ssh
306 ? root 4268 S /bin/sshd -f /etc/ssh/sshd_config


cyclade # cat /etc/ssh/sshd_config

# $OpenBSD: sshd_config,v 1.68 2003/12/29 16:39:50 millert Exp $

# This is the sshd server system-wide configuration file. See
# sshd_config(5) for more information.

# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin://bin

# The strategy used for options in the default sshd_config shipped
with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented. Uncommented options change a
# default value.

#Port 22
#Protocol 2,1
#ListenAddress 0.0.0.0
#ListenAddress ::

#HostKey for protocol version 1
#HostKey /etc/ssh/ssh_host_key
#HostKeys for protocol version 2
#HostKey /etc/ssh/ssh_host_rsa_key
#HostKey /etc/ssh/ssh_host_dsa_key
:
:
:
ITguy
2009-11-16 00:13:24 UTC
Permalink
Post by underh20
Could anyone let me know how to do it without losing my SSH connection
to this Cyclade ?
In your sshd_config file, change:

#Protocol 2,1
to read
Protocol 2

SSH will need to be restarted for this to take effect. It should be
possible to stop/start SSH without losing your connection

Loading...