Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Inetd.conf File

Status
Not open for further replies.

johndrake

Technical User
Jul 25, 2002
97
Hi All,

I have the following two lines in my inetd.conf file:

ssh stream tcp nowait root /tools/sbin/sshd sshd -i -p 22
ssh2 stream tcp nowait root /tools/sbin/sshd sshd -i -p 443

When the node came up, only one instance of ssh was started,
and this was the instance for the default port 22. It seems
as if the second instance if ssh did not start. What would
I need to do in order to ensure that both instances of
ssh are started.

-Joe
 

Try starting it up manually on that port and see if if works.

Cheers

Henrik Morsing
Certified AIX 4.3 Systems Administration
& p690 Technical Support
 
Hi Henrik,

Manually, it does work.

-Joe
 

Do you have ssh2 in /etc/services??

Cheers

Henrik Morsing
Certified AIX 4.3 Systems Administration
& p690 Technical Support
 
Hi Henrik,

I'll check that tonite --- I can't access the box
from where I am --- client firewall.

Thank you,

-Joe
 
Yes, I do:

ssh2 443/tcp # Added for ssh 14 April 2003
 
# nohup /tools/sbin/sshd -i -p 443 &
[1] 32616
# Sending nohup output to nohup.out.

[1] + Stopped (SIGTTIN) nohup /tools/sbin/sshd -i -p 443 &
# r ps
ps -ef|grep ssh
sjohnson 22346 31392 0 18:01:49 - 0:00 sshd -i -p 22
sjohnson 24042 28606 0 14:52:11 - 0:00 sshd -i -p 22
root 24960 1 0 17:20:16 - 0:00 sshd -i -p 22
ssharma 27360 24960 0 17:20:27 - 0:00 sshd -i -p 22
root 28606 1 0 14:51:52 - 0:00 sshd -i -p 22
ssharma 28856 27360 0 17:20:27 pts/1 0:00 -ksh
root 30562 11442 0 20:36:04 pts/0 0:00 grep ssh
root 31052 1 0 18:49:23 - 0:00 sshd -i -p 22
root 31392 1 0 18:01:37 - 0:00 sshd -i -p 22
root 32616 11442 0 20:35:58 pts/0 0:00 /tools/sbin/sshd -i -p 443
sjohnson 36824 31052 0 18:49:45 - 0:00 sshd -i -p 22
 
Refresh deamons portmap and inetd insequence, after see the difference.

cheers


aixnag
IBM Certified Specialist - P-series AIX 5L Administration
IBM Certified Specialist - AIX V4 HACMP
 
Do you have a web server running? Port 443 is reserved for https. Check /etc/services for an addition entry for port 443.

Larry Bennett
UNIX Admin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top