I have run into a situation where I configured, did the make and, make install on an HP-UX 11.0 box. Everything looks good until I try and do a man on ssh- add or scp. When I took a look at the byte count both those were zero. Here is an out put from the man1 directory. [/opt/ssh2/man/man1] # ll total 134 -rw-r--r-- 1 root sys 0 Jan 15 15:53 scp.1 -rw-r--r-- 1 root sys 5319 Jan 15 15:53 sftp.1 lrwxr-xr-x 1 root sys 5 Jan 15 15:53 slogin.1 -> ssh.1 -rw-r--r-- 1 root sys 0 Jan 15 15:53 ssh-add.1 -rw-r--r-- 1 root sys 4313 Jan 15 15:53 ssh-agent.1 -rw-r--r-- 1 root sys 8135 Jan 15 15:53 ssh-keygen.1 -rw-r--r-- 1 root sys 3684 Jan 15 15:53 ssh-keyscan.1 -rw-r--r-- 1 root sys 44867 Jan 15 15:53 ssh.1 I tried configuring twice but ran into the same problem. As I looked into the directory in which I untarred everything and did a listing here is what I found on ssh-add* and scp*: [/opt/ssh2/man/man1] # ll /opt/openssh/ssh-add* -rwxr-xr-x 1 root sys 1855912 Jan 15 15:51 /opt/openssh/ssh-add -rw-rw-r-- 1 500 500 3249 Dec 1 18:38 /opt/openssh/ssh-add.0 -rw-rw-r-- 1 500 500 4902 Sep 12 13:06 /opt/openssh/ssh-add.1 -rw-r--r-- 1 root sys 0 Jan 9 17:24 /opt/openssh/ssh- add.1.out -rw-rw-r-- 1 500 500 8008 Oct 3 13:43 /opt/openssh/ssh-add.c -rw-r--r-- 1 root sys 52247 Jan 10 09:40 /opt/openssh/ssh-add.o [/opt/ssh2/man/man1] # ll /opt/openssh/scp* -rwxr-xr-x 1 root sys 367000 Jan 15 15:51 /opt/openssh/scp -rw-rw-r-- 1 500 500 3144 Dec 1 18:38 /opt/openssh/scp.0 -rw-rw-r-- 1 500 500 3190 Sep 18 01:56 /opt/openssh/scp.1 -rw-r--r-- 1 root sys 0 Jan 9 17:22 /opt/openssh/scp.1.out -rw-rw-r-- 1 500 500 29339 Oct 21 20:53 /opt/openssh/scp.c -rw-r--r-- 1 root sys 70025 Jan 10 09:41 /opt/openssh/scp.o Any ideas?
The comments are below.
Did you run "make install" as root?
Yes I did run it as root. It did create the manpages for all the others but not for ssh-add and scp.
It's a problem prior to the "make install" stage. Try removing any 0 byte .out files. Run make and look for errors. I don't know what MANTYPE HP-UX uses but it it's cat look for a sed problem. If MANTYPE = man, look for a problem with mdoc2man.pl (See lines 134-144 of Makefile)
has the cause of this been resolved? i have never seen this on hp-ux.
I downloaded the new source for openssh 3.1p1 and all is well.
Mass change of RESOLVED bugs to CLOSED