LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices

Reply
 
Search this Thread
Old 08-12-2004, 09:55 PM   #1
wede
LQ Newbie
 
Registered: Aug 2004
Posts: 1

Rep: Reputation: 0
open ports in an inittab entry


I need to open a secure connection to ports 1022 and 1023 in the startup of the server. I would like to add an inittab entry which will run a file that contains these two commands,
sshd -p 1022
sshd -p 1023
What do I need in the inittab entry to run this file?

cheers
gizaa
 
Old 08-13-2004, 02:14 AM   #2
zatriz
Member
 
Registered: Aug 2003
Location: Seattle, Wa
Distribution: Fedora,Trustix,Debian
Posts: 290

Rep: Reputation: 30
Inittab is not the place to start up files or commands for your computer.
You dont need to add additional commands for sshd to listen on port 1022 or 1023.
Configure the sshd server to by default listen on those ports i believe the configuration file you are looking for is : /etc/ssh/sshd_config

change the port option inside there.

Ok i guess i didnt see that the platform was AIX so im not sure if this will work on AIX since i've never used it but i think it should be similiar

Last edited by zatriz; 08-13-2004 at 02:16 AM.
 
Old 08-16-2004, 11:31 AM   #3
iainr
Member
 
Registered: Nov 2002
Location: England
Distribution: Ubuntu 9.04
Posts: 631

Rep: Reputation: 30
Just the same on AIX; though check that you are using OpenSSH. If you are using another SSH (e.g. Tectia, F-Secure) the config file may be something like /etc/ssh2/sshd2_config.
 
Old 09-02-2004, 03:27 PM   #4
redlich
LQ Newbie
 
Registered: Sep 2004
Posts: 1

Rep: Reputation: 0
init will restart sshd if it goes down.

starting sshd listening on another port is extremely useful for remotely administered servers.

If the sshd crashed you will be unable to login using sshd.

running an sshd -i from inittab will restart it if the daemon crashes (due to a bug or DOS)

Steve
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot Open Mail Server Ports 25, 110, and 220. Other Ports will open. Binxter Linux - Newbie 9 11-29-2007 02:03 AM
open ports on linksys, i have ssh open but thats it PlatinumRik Linux - Security 1 07-07-2005 10:38 AM
Bad inittab entry ??? Rocker Linux - General 2 09-03-2004 04:30 AM
open source entry level desktop publishing for windows? crazyeddie740 General 5 06-26-2004 01:21 PM
i need to open some ports, how can i do it? israel Linux - Software 2 08-26-2003 05:47 PM


All times are GMT -5. The time now is 08:10 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration