Koozali.org: home of the SME Server

Is it possible to force SSH to SSH2?

Peter Kelly

Is it possible to force SSH to SSH2?
« on: November 22, 2002, 10:10:07 AM »
Hi all,

I thought I had seen some thread on this a while ago...  sorry if this is a repeat.

Is there any way to completly remove SSH1 support and force the suer to SSH2?

Thanks.

PK

Rich Lafferty

Re: Is it possible to force SSH to SSH2?
« Reply #1 on: November 22, 2002, 05:30:57 PM »
You want "Protocol 2" in /etc/sshd/sshd_config.

Make a custom template:

mkdir -p /etc/e-smith/templates-custom/etc/ssh/sshd_config/

echo "Protocol 2" > \
   /etc/e-smith/templates-custom/etc/ssh/sshd_config/20Protocol

/sbin/e-smith/expand-template /etc/ssh/sshd_config

/etc/init.d/sshd restart

Cheers,

--Rich

Peter Kelly

Re: Is it possible to force SSH to SSH2?
« Reply #2 on: November 23, 2002, 05:12:18 AM »
Amayzing! Works like a charm.

Thanks!

PK