Try "sshd -i":
"ssh stream tcp nowait root /usr/local/sbin/tcpd /usr/local/sbin/sshd -i"
That means that ssh is started from inetd.conf
If that won't work I'll send you a shell script that starts it from
/etc/rc2.d
Cheers, Michael
-----Original Message-----
From: Chris Arnold [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 11, 2000 7:33 PM
To: 'Mohamed HAMOUCH'; [EMAIL PROTECTED]
Subject: RE: [FW1] Off-topic (ssh2 over sparc solaris 2.6)
Don't start sshd from inetd. This is stated in the ssh FAQ
(http://www.onsight.com/faq/ssh/ssh-faq-5.html#ss5.9).
-----Original Message-----
From: Mohamed HAMOUCH [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 11, 2000 11:39 AM
To: [EMAIL PROTECTED]
Subject: [FW1] Off-topic (ssh2 over sparc solaris 2.6)
Hi all,
I've recently installed FW-1 4.1 on a Sun Sparc box running solaris
2.6.
I want to setup SSH2 - downloaded from ssh.com and compiled- on this
machine .Using the classic telnet, any internal user could easily find
out your password by any sniffer.
The SSH client fails to connect to the firewall and I get the
following message from the /var/adm/messages :
diamant sshd[13695]: Fatal ERROR: Creating listener failed
: port 22 probably already in use!
1- My /etc/inetd.conf:
---------------------------------
ftp stream tcp nowait root
/usr/local/sbin/tcpd in.ftpd
telnet stream tcp nowait root /usr/local/sbin/tcpd
in.telnetd
ssh stream tcp nowait root /usr/local/sbin/tcpd
sshd
-----------------------------------
Note that tcpd stands for TCP Wrraper daemon.
2- the beginning of my /etc/services:
--------------------------
#ident "@(#)services 1.16 97/05/12 SMI" /* SVr4.0 1.8 */
#
# Network services, Internet style
#
tcpmux 1/tcp
echo 7/tcp
echo 7/udp
discard 9/tcp sink null
discard 9/udp sink null
systat 11/tcp users
daytime 13/tcp
daytime 13/udp
netstat 15/tcp
chargen 19/tcp ttytst source
chargen 19/udp ttytst source
ftp-data 20/tcp
ftp 21/tcp
ssh 22/tcp | I've added these two lines for SSH
(port 22) and
ssh 22/udp | send a HUP signal to the inetd
daemon
telnet 23/tcp
smtp 25/tcp mail
time 37/tcp timserver
time 37/udp timserver
name 42/udp nameserver
-----------------------------------
According to the /var/adm/messages, is it really true that another
program is using the port 22 ? and
how to find out which program is ?
Or is there something that I forget to configure before compiling the
ssh source ? (Apparently not)
Any help would be greatly appreciated.
------
M. Hamouch
I.A.V Hassan II (Rabat, Morocco)
E-mail: [EMAIL PROTECTED]
============================================================================
====
To unsubscribe from this mailing list, please see the instructions at
http://www.checkpoint.com/services/mailing.html
============================================================================
====
============================================================================
====
To unsubscribe from this mailing list, please see the instructions at
http://www.checkpoint.com/services/mailing.html
============================================================================
====
================================================================================
To unsubscribe from this mailing list, please see the instructions at
http://www.checkpoint.com/services/mailing.html
================================================================================