It works. Put it here just it case anybody ever needs this.
[root]# cd /tmp
[root]# cp /usr/lib/ssh/sshd .
[root]# ksh -o vi (I like korn)
[root]# strings -t d -a -n 7 sshd | grep Sun
989376 Sun_SSH_1.1
989472 Sun_SSH_1.1
989532 Sun_SSH_1.1
993040 Sun_SSH_1.0.*
993056 Sun_SSH_1.0*
999159 @(#)SunOS 5.9 Generic 113273-13 Oct 2006
[root]#
3 locations having Sun_SSH_1.1, hmm which one? .. lets try the first line.
[root]# dd if=./sshd bs=1 skip=989376 count=11 | od -A n -c
S u n _ S S H _ 1 . 1
11+0
records in
11+0 records out
[root]# dd if=./sshd bs=1 count=989376 of=sshd.1
989376+0 records in
989376+0 records out
[root]# dd if=./sshd bs=1 skip=989376 count=11 of=sshd.2
11+0 records in
11+0 records out
[root]# od -A n -c sshd.2 (testing to make sure)
S u n _ S S H _ 1 . 1
[root]# dd if=./sshd bs=1 skip=989387 count=999999999 of=sshd.3
11141+0 records in
11141+0 records out
[root]# ls -l sshd.2
-rw------- 1 root root 11 Feb 19 13:56 sshd.2
[root]# print -n JESUSLOVESu > sshd.2
[root]# ls -l sshd.2
-rw------- 1 root root 11 Feb 19 14:00 sshd.2
[root]# cat sshd.* > sshd.new
[root]# ls -l /usr/lib/ssh/sshd
-r-xr-xr-x 1 root bin 1000528 Oct 27 2006 /usr/lib/ssh/sshd
[root]# chmod 755 ./sshd.new
[root]# cp -p ./sshd.new /usr/lib/ssh/.
stop ssh;ps -ef and kill -9
cd /usr/lib/ssh
[root]# cp -p sshd sshd.ORG # back it up first
[root]# cp -p sshd.new sshd
[root]# cd /
[root]# /usr/lib/ssh/sshd # startup ssh
[root]# ps -ef |grep sshd
root 5652 1 0 14:04:28 ? 0:00 /usr/lib/ssh/sshd
root 5654 3665 0 14:04:31 pts/3 0:00 grep sshd
[root]#
[root]# telnet localhost 22
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
SSH-2.0-JESUSLOVESu
box8[root]# ssh <some ip> root
Password:
Last login: Tue Feb 19 13:48:21 2008 from localhost
Sun Microsystems Inc. SunOS 5.9 Generic May 2002
[root]#
there's a couple of errors on messages which I'll monitor for a few days but generally it works
)
Perderabo you just saved my weekend I'll down a few brews for you this weekend.
heaps of thanx again