* sshd Problems with Tru64 V5.0
@ 1999-12-17 5:00 Jim Jennis
1999-12-17 5:00 ` Tim Mooney
0 siblings, 1 reply; 6+ messages in thread
From: Jim Jennis @ 1999-12-17 5:00 UTC (permalink / raw)
Hi Digital Unix Colleagues!
We are running ssh on linux and have just installed it (ssh v1.2.27) on
digital unix v5.0 (shortly we will also install FISH/SSH on a new VMS
machine). SSH compiled fine on Alpha/Tru64 with no errors, however, when
we try to connect to the Alpha box from Linux (or any other ssh client),
sshd on the Alpha hangs at the encryption type.
I have attached the output from the client (RH Linux V6.1 2.2.12 kernal)
ssh 1.5 protocol and from the sshd on the alpha running in debug mode.
I would appreciate any feedback from the list as to why sshd on the
alpha could be hanging. We have no problems doing ssh logins from one
Linux machine to another or from any NT or Win 95 machine to Linux.
Thanks for your help or suggestions!
Regards,
Jim
>###########SSH CLIENT LOG###################
>
>[root@linux1 /etc]# ssh -v alpha1
>SSH Version 1.2.27 [i686-unknown-linux], protocol version 1.5.
>Compiled with RSAREF.
>linux1.discovery.fuentez.com: Reading configuration data
/etc/ssh_config
>linux1.discovery.fuentez.com: ssh_connect: getuid 0 geteuid 0 anon 0
>linux1.discovery.fuentez.com: Connecting to alpha1 [10.2.2.240] port
22.
>linux1.discovery.fuentez.com: Allocated local port 1020.
>linux1.discovery.fuentez.com: Connection established.
>linux1.discovery.fuentez.com: Remote protocol version 1.5, remote
software
>version 1.2.27
>linux1.discovery.fuentez.com: Waiting for server public key.
>linux1.discovery.fuentez.com: Received server public key (768 bits) and
host key
>(1024 bits).
>linux1.discovery.fuentez.com: Host 'alpha1' is known and matches the
host
>key.
>linux1.discovery.fuentez.com: Initializing random; seed file
>/root/.ssh/random_seed
>linux1.discovery.fuentez.com: Encryption type: idea
>linux1.discovery.fuentez.com: Sent encrypted session key.
>
>######SSHD LOG FROM DEC ALPHA ###########################
># /usr/local/sbin/sshd -d
>debug: sshd version 1.2.27 [alpha-dec-osf5.0]
>log: OSF/1: security level : not C2
>debug: Initializing random number generator; seed file
/etc/ssh_random_seed
>log: Server listening on port 22.
>log: Generating 768 bit RSA key.
>Generating p: ...................................++ (distance 464)
>Generating q: .................++ (distance 246)
>Computing the keys...
>Key generation complete.
>log: RSA key generation complete.
>debug: Server will not fork when running in debugging mode.
>log: Connection from 10.2.2.248 port 1020
>debug: Client protocol version 1.5; client software version 1.2.27
>debug: Sent 768 bit public key and 1024 bit host key.
>debug: Encryption type: idea
>
--
--------------------------------------------------------
FSC - Building Better Information Technology Solutions-
from the Production Floor to the Customer's Door.
--------------------------------------------------------
Jim Jennis, Technical Director for Commercial Systems
Fuentez Systems Concepts, Inc.
1 Discovery Place, Suite 2
Martinsburg, WV. 25401
USA
Phone: +001 (304) 263-0163 ext. 235
Fax: +001 (304) 263-0702
Email: jjennis@fuentez.com
jhjennis@shentel.net
WEB: http://www.discovery.fuentez.com/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sshd Problems with Tru64 V5.0
1999-12-17 5:00 sshd Problems with Tru64 V5.0 Jim Jennis
@ 1999-12-17 5:00 ` Tim Mooney
1999-12-17 5:00 ` Mike Iglesias
1999-12-22 5:00 ` Jim Jennis
0 siblings, 2 replies; 6+ messages in thread
From: Tim Mooney @ 1999-12-17 5:00 UTC (permalink / raw)
In article <385A6998.3DEFD260@discovery.fuentez.com>,
Jim Jennis <jjennis@discovery.fuentez.com> wrote:
> Hi Digital Unix Colleagues!
>
> We are running ssh on linux and have just installed it (ssh v1.2.27) on
> digital unix v5.0 (shortly we will also install FISH/SSH on a new VMS
> machine). SSH compiled fine on Alpha/Tru64 with no errors, however, when
> we try to connect to the Alpha box from Linux (or any other ssh client),
> sshd on the Alpha hangs at the encryption type.
Did you change the rsaref code so that it uses ints instead of longs for
its 32 bit wide data? Look in rsaref2/source/global.h, and see how big
a UINT4 is. If it's unsigned long, it's wrong on the alpha. You'll want to
patch it to use unsigned ints on the alpha, and you'll also want to apply
the recent buffer overflow patch too (see CERT's web site).
I've heard of performance problems with 1.2.27 on Digital/Tru64 Unix, so
we've mostly stuck with 1.2.26. It seems to work fine on Tru64 5.0, as long
as you compile it on 5.0.
Tim
--
Tim Mooney mooney@dogbert.cc.ndsu.NoDak.edu
Information Technology Services (701) 231-1076 (Voice)
Room 242-J1, IACC Building (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sshd Problems with Tru64 V5.0
1999-12-17 5:00 ` Tim Mooney
@ 1999-12-17 5:00 ` Mike Iglesias
1999-12-18 5:00 ` Jesper Frank Nemholt
1999-12-22 5:00 ` Jim Jennis
1 sibling, 1 reply; 6+ messages in thread
From: Mike Iglesias @ 1999-12-17 5:00 UTC (permalink / raw)
In article <83e8n0$1t9$1@news.ndsu.nodak.edu>,
Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu> wrote:
>I've heard of performance problems with 1.2.27 on Digital/Tru64 Unix, so
>we've mostly stuck with 1.2.26. It seems to work fine on Tru64 5.0, as long
>as you compile it on 5.0.
I have not seen any performance problems with 1.2.27 on 4.0B/D/F. I'm
using an Alphastation 200 4/233.
--
Mike Iglesias Internet: iglesias@draco.acs.uci.edu
University of California, Irvine phone: 949-824-6926
Office of Academic Computing FAX: 949-824-2069
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sshd Problems with Tru64 V5.0
1999-12-17 5:00 ` Mike Iglesias
@ 1999-12-18 5:00 ` Jesper Frank Nemholt
1999-12-21 5:00 ` Tim Mooney
0 siblings, 1 reply; 6+ messages in thread
From: Jesper Frank Nemholt @ 1999-12-18 5:00 UTC (permalink / raw)
Mike Iglesias wrote:
>
> In article <83e8n0$1t9$1@news.ndsu.nodak.edu>,
> Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu> wrote:
> >I've heard of performance problems with 1.2.27 on Digital/Tru64 Unix, so
> >we've mostly stuck with 1.2.26. It seems to work fine on Tru64 5.0, as long
> >as you compile it on 5.0.
>
> I have not seen any performance problems with 1.2.27 on 4.0B/D/F. I'm
> using an Alphastation 200 4/233.
Me neither. I use 1.2.27 and 2.0.13 on 4.0D, 4.0E and 4.0F, and 1.2.27
on 5.0. This works great. I've used SSH in that environment for about a
year. All versions are compiled on the machines they're running on, and
with cc.
On a particular setup with a 4 CPU GS60 running 4.0E and a RedHat Linux
6.1 machine, I have > 200MB scp transfers every day.
I've also just setup a sftp solution with a ES40 on my side running 4.0F
and some Sun box on the other side. This appears to run fine too,
allthough a bit slow since it's over the internet.
The only thing I'm aware of is that you need to apply a patch if you run
C2.
l8r/Jspr
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sshd Problems with Tru64 V5.0
1999-12-18 5:00 ` Jesper Frank Nemholt
@ 1999-12-21 5:00 ` Tim Mooney
0 siblings, 0 replies; 6+ messages in thread
From: Tim Mooney @ 1999-12-21 5:00 UTC (permalink / raw)
In article <385B8004.7FA6392A@dassic.com>,
Jesper Frank Nemholt <jfn@dassic.com> wrote:
> Mike Iglesias wrote:
> >
> > In article <83e8n0$1t9$1@news.ndsu.nodak.edu>,
> > Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu> wrote:
> > >I've heard of performance problems with 1.2.27 on Digital/Tru64 Unix, so
> > >we've mostly stuck with 1.2.26. It seems to work fine on Tru64 5.0, as long
> > >as you compile it on 5.0.
> >
> > I have not seen any performance problems with 1.2.27 on 4.0B/D/F. I'm
> > using an Alphastation 200 4/233.
>
> Me neither. I use 1.2.27 and 2.0.13 on 4.0D, 4.0E and 4.0F, and 1.2.27
> on 5.0. This works great. I've used SSH in that environment for about a
> year. All versions are compiled on the machines they're running on, and
> with cc.
If I remember correctly, a couple different people on the ssh mailing list
reported that they saw performance degradation of ssh/scp on alpha-dec-osf*
after upgrading to 1.2.27 from 1.2.26 -- I haven't tried 1.2.27 so I don't
know if that's true.
I do know that there wasn't anything compelling (for Digital Unix, anyway)
in 1.2.27, and considering 1.2.27 made it harder to use Kerberos V-aware
ssh and still keep ssh as a drop-in replacement for rsh, we've stayed at
1.2.26.
It's good to know that the performance problems I've seen reported probably
are isolated and not common with 1.2.27, though.
Tim
--
Tim Mooney mooney@dogbert.cc.ndsu.NoDak.edu
Information Technology Services (701) 231-1076 (Voice)
Room 242-J1, IACC Building (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sshd Problems with Tru64 V5.0
1999-12-17 5:00 ` Tim Mooney
1999-12-17 5:00 ` Mike Iglesias
@ 1999-12-22 5:00 ` Jim Jennis
1 sibling, 0 replies; 6+ messages in thread
From: Jim Jennis @ 1999-12-22 5:00 UTC (permalink / raw)
Many Many Thanks Tim for your help! You hit the nail on the head! Patching
global.h in sshd source was all I needed to get sshd running correctly on my
Tru64 box!
Happy Holidays, and best regards,
Jim,
Tim Mooney wrote:
> In article <385A6998.3DEFD260@discovery.fuentez.com>,
> Jim Jennis <jjennis@discovery.fuentez.com> wrote:
> > Hi Digital Unix Colleagues!
> >
> > We are running ssh on linux and have just installed it (ssh v1.2.27) on
> > digital unix v5.0 (shortly we will also install FISH/SSH on a new VMS
> > machine). SSH compiled fine on Alpha/Tru64 with no errors, however, when
> > we try to connect to the Alpha box from Linux (or any other ssh client),
> > sshd on the Alpha hangs at the encryption type.
>
> Did you change the rsaref code so that it uses ints instead of longs for
> its 32 bit wide data? Look in rsaref2/source/global.h, and see how big
> a UINT4 is. If it's unsigned long, it's wrong on the alpha. You'll want to
> patch it to use unsigned ints on the alpha, and you'll also want to apply
> the recent buffer overflow patch too (see CERT's web site).
>
> I've heard of performance problems with 1.2.27 on Digital/Tru64 Unix, so
> we've mostly stuck with 1.2.26. It seems to work fine on Tru64 5.0, as long
> as you compile it on 5.0.
>
> Tim
> --
> Tim Mooney mooney@dogbert.cc.ndsu.NoDak.edu
> Information Technology Services (701) 231-1076 (Voice)
> Room 242-J1, IACC Building (701) 231-8541 (Fax)
> North Dakota State University, Fargo, ND 58105-5164
--
--------------------------------------------------------
FSC - Building Better Information Technology Solutions-
from the Production Floor to the Customer's Door.
--------------------------------------------------------
Jim Jennis, Technical Director for Commercial Systems
Fuentez Systems Concepts, Inc.
1 Discovery Place, Suite 2
Martinsburg, WV. 25401
USA
Phone: +001 (304) 263-0163 ext. 235
Fax: +001 (304) 263-0702
Email: jjennis@fuentez.com
jhjennis@shentel.net
WEB: http://www.discovery.fuentez.com/
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1999-12-22 5:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-12-17 5:00 sshd Problems with Tru64 V5.0 Jim Jennis
1999-12-17 5:00 ` Tim Mooney
1999-12-17 5:00 ` Mike Iglesias
1999-12-18 5:00 ` Jesper Frank Nemholt
1999-12-21 5:00 ` Tim Mooney
1999-12-22 5:00 ` Jim Jennis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox