Install & configure Openssh In Solaris 8

I hope someone out there can help. I'm trying to install & configure Openssh to my Solaris, I downloaded & Installed the following pkgs :

openssh-4.4p1-sol8-sparc-local.gz
openssl-0.9.8d-sol8-sparc-local.gz
tcp_wrappers-7.6-sol8-sparc-local.gz
zlib-1.2.1-sol8-sparc-local.gz
libgcc-3.4.6-sol8-sparc-local.gz
Along with recommended Patch 112438-03 as recommended.

Different sites suggested different ways of doing it, everytime I try, I run into a stumbling block.

Can anyone tell me an easier straight forward way to get this done with all the frustrations.

Thanks,
Remi

The first thing to do is install all those packages. Is that where you are having the trouble?

1) gunzip <filename>
2) pkgadd -d <filename>

EDIT: Whoops. I had not read your post well enough. It looks like you have already installed the packages.

So continue on to the next steps, which are best done from the console.

1 Like

I tried to run the ssh-keygen, but I got an error message. I also tried running ./configure , it failed.
I installed gcc & my PATH is correct.................all to no AVAIL.
Please see the error messages I'm getting, maybe this would help.

Thanks.
Remi

# cd /usr/local/bin
# ./ssh-keygen -t rsa1 -f /usr/local/etc/ssh_host_key -N ""
./ssh-keygen: not found
# ./ssh-keygen -t rsa1 -f /usr/local/etc/ssh_host_key -N "" >/tmp/eve
./ssh-keygen: not found

#pwd
/opt/openssh-4.41
#./configure
checking for gcc... no
cheking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

#more config.log

## --------- ##

hostname = sstrmybadmin
uname -m = sun4u
uname -r = 5.8
uname -s = SunOS
uname -v = Generic_117350-43

/usr/bin/uname -p = sparc
/bin/uname -X = System = SunOS
Node = sstrmybadmin
Release = 5.8
KernelID = Generic_117350-43
Machine = sun4u
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 1

/bin/arch = sun4
/usr/bin/arch -k = sun4u
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: .
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/dt/bin
PATH: /usr/openwin/bin
PATH: /bin
PATH: /usr/ucb
PATH: /usr/ccs/bin
PATH: /usr/ccs/bin
PATH: /opt/gcc

## ----------- ##
## Core tests. ##
## ----------- ##

configure:1846: checking for gcc
configure:1876: result: no
configure:1943: checking for cc
configure:1990: result: no
configure:2046: checking for cl.exe
configure:2076: result: no
configure:2105: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=

## ----------------- ##
## Output variables. ##
## ----------------- ##

AR=''
AWK=''
CAT=''
CC=''
CFLAGS=''
CPP=''
CPPFLAGS=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENT=''
EXEEXT=''
GREP=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
INSTALL_SSH_PRNG_CMDS=''
INSTALL_SSH_RAND_HELPER=''
KILL=''
LD=''
LDFLAGS=''
LIBEDIT=''
LIBOBJS=''
LIBPAM=''
LIBS=''
LIBSELINUX=''
LIBWRAP=''
LOGIN_PROGRAM_FALLBACK=''
LTLIBOBJS=''
MAKE_PACKAGE_SUPPORTED=''
MANTYPE=''
NROFF=''
OBJEXT=''
OPENSC_CONFIG=''
PACKAGE_BUGREPORT='openssh-unix-dev@mindrot.org'
PACKAGE_NAME='OpenSSH'
PACKAGE_STRING='OpenSSH Portable'
PACKAGE_TARNAME='openssh'
PACKAGE_VERSION='Portable'
PATH_GROUPADD_PROG=''
PATH_PASSWD_PROG=''
PATH_SEPARATOR=':'
PATH_USERADD_PROG=''
PERL=''
PRIVSEP_PATH=''
PROG_ARP=''
PROG_DF=''
PROG_IFCONFIG=''
PROG_IPCS=''
PROG_JSTAT=''
PROG_LAST=''
PROG_LASTLOG=''
PROG_LS=''
PROG_NETSTAT=''
PROG_PS=''
PROG_SAR=''
PROG_TAIL=''
PROG_UPTIME=''
PROG_VMSTAT=''
PROG_W=''
PROG_WHO=''
RANLIB=''
SED=''
SH=''
SHELL='/bin/bash'
SSHDLIBS=''
SSH_PRIVSEP_USER=''
STARTUP_SCRIPT_SHELL=''
STRIP_OPT=''
TEST_MINUS_S_SH=''
--More--(72%)
checking for cc... no
checking for cl.exe... no

configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

o

In the original post you list some files:

Those files are gzipped packages and there is no need to run configure. Merely gunzip and run pkgadd.

I ran gunzip and added the package........when I installed them & that was the error messages were what I got.

Thanks,
Remi

I hope someone out there can help. I'm trying to install & configure Openssh to my Solaris. I downloaded & Installed the following pkgs :

I'm having a terrible time configuring Openssh on my servers.

I downloaded & Installed the following pkgs :
openssh-4.4p1-sol8-sparc-local.gz
openssl-0.9.8d-sol8-sparc-local.gz
tcp_wrappers-7.6-sol8-sparc-local.gz
zlib-1.2.1-sol8-sparc-local.gz
libgcc-3.4.6-sol8-sparc-local.gz
Along with recommended Patch 112438-03 as recommended.

I gunzipped them & added the pkgs.

I did the following:
mkdir /var/empty
chown root:sys /var/empty
chmod 755 /var/empty
groupadd sshd
useradd -g sshd -c 'sshd privsep' -d /var/empty -s /bin/false sshd

When I attempted to generate the key by doing the following :
cd /usr/local/bin
./ssh-keygen -t rsa1 -f /usr/local/etc/ssh_host_key -N ""
./ssh-keygen -t dsa -f /usr/local/etc/ssh_host_dsa_key -N ""
./ssh-keygen -t rsa -f /usr/local/etc/ssh_host_rsa_key -N ""

I got an error message : ssh-keygen not found.

On my other server, I tried the same thing, I also added the ssh script &

chmod 744 sshd
cd /etc/rc3.d
mv S89sshd _S89sshd.old
ln -s /etc/init.d/sshd S89sshd
cd ../rc2.d/
mv K03sshd _K03sshd.old
ln -s /etc/init.d/sshd K03sshd

/etc/init.d/sshd.old stop
/etc/init.d/sshd start

AND STILL GOT AN ERROR MESSAGE.............................................

Can anyone tell me why I'm getting the ssh-keygen error & what else I could do..I'll really appreciate it.

Thanks,
Remi

Remi, see the rules.

(4) Do not 'bump up' questions if they are not answered promptly. No duplicate or cross-posting and do not report a post where your goal is to get an answer more quickly.

Threads merged.