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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

0513-085 The ssh Subsystem is not on file

Status
Not open for further replies.

imad77

Instructor
Oct 18, 2008
97
CA
Hi,

I step by step install openssh on AIX5.3, When I start ssh by startsrc -s ssh command,the system display 0513-085 The ssh Subsystem is not on file.
I really do not know what reason is.

lslpp -l|grep opens*
openssh.base.client 4.1.0.1 COMMITTED Open Secure Shell Commands
openssh.base.server 4.1.0.1 COMMITTED Open Secure Shell Server
openssh.license 5.0.0.5301 COMMITTED Open Secure Shell License
openssh.base.client 4.1.0.1 COMMITTED Open Secure Shell Commands

rpm -qa|grep opens
openssl-0.9.7g-1
openssl-devel-0.9.7g-1
openssl-doc-0.9.7g-1

can someone help me?
 
Hello,

Can you verify that sshd is started .?
ps -ef | grep sshd

Also Please try to start sshd daemon from /etc/ssh/sshd


Regards !
 
Hello,

it is not started, and if I try startsrc -s ssh

I get this error message: 0513-085 The ssh Subsystem is not on file.
 
hi,
are you sure that ssh starts as a service (as nfsd,lpd...),
and not as telnetd, that is launched by inted when it
(listening on all ports defined in inetd.con) recieves a socket call on port 22, (23 for telnet) ?

Seeing your system message, seems that all is correct:
to see which service may be launched (with the current lpp installed) give lssrc -a .

Check if in /etc/services if ssh is defined (I believe yes).
Look in /etc/inetd.conf what there is about ssh.

Sorry for this trivial question: have you tried to connect
to AIX from a PC by putty or similar, or doing, just for test a "telnet yoursys 22" ?

bye
vic
 
Hi,

I tried :
startsrc -s sshd

I get this error message:
0513-085 The sshd Subsystem is not on file.

I tried this command:
startsrc -g ssh

I get this error message:
0513-086 The ssh Group is not on file.

I find ssh in /etc/services

ssh 22/tcp
ssh 22/udp

But I don't find anything related to ssh in /etc/inetd.conf

Thanks
 
hi,
I would do 3 things, in order:

1) look in /.smit* to see if during lpp setup, some notes compared on video (between hunderds of copyright) and you have not seen.

2) look for doc relative the lpp you have installed

3) copy and paste telnet entry in /etc/inetd.conf, and
customize it for sshd (begin leaving all unchanged except for sshd fullpathname and ssh.
Each time you save changes in /etc/inetd.conf (just :w in vi), in another window do

refresh -s inetd

This will send a signal to the daemon, so it reloads
listening port parameters.

From a pc, telnet yoursys 22 or putty, to test .

bye
v

 
Try the following command to start ssh:
startsrc -g ssh
if that does not work, then continue with the following.

A few things to look at:
"lslpp -Lc | grep ssh" should return 5 items for commands, server, license, documentation, messages
"lslpp -Lc | grep ssl" should return 3 items

If you don't have this for ssl you need to reinstall ssl.

The sshd subsystem is started from /etc/rc.d at boot time. If you cd to this directory you will see a collection of directories like rc.d, rc2.d, rc3.d etc. If you type:
find . -name *ssh* -print
you will see which one has the ssh stuff in it, most likely rc2.d.

If you don't see the ssh scripts (Ksshd Ssshd) here you have not installed the product successfully.

If you see the scripts then just check to be sure they have execute permissions. Note that these are only used at boot and shutdown times. I would not change anything in these directories unless you are sure you know what you are doing, since they could prevent your system from booting.

If one of these does not work for you, I would remove any ssh, ssl items from your system, download it again, and start over.


 
Hi,

I resolved this issue, by uninstalling openssl (rpm -e) and installing a new version of openssl and openssh (last CD of expansion pack and toolbox) and now it works fine.

Thank you for your great help.
 
I've sought bff fileset with strings command and found:

# strings openssh-5.1p1.bff | grep mkssys
mkssys -s sshd -p "/usr/local/sbin/sshd" -a '-D' -u 0 -S -n 15 -f 9 -R -G tcpip


So, if you don't have sshd subsystem create it running:

mkssys -s sshd -p "/usr/local/sbin/sshd" -a '-D' -u 0 -S -n 15 -f 9 -R -G tcpip


Adjust sshd location if it is other than /usr/local/sbin/sshd in your case.
 
Hi,

I resolved this issue, by uninstalling openssl (rpm -e) and installing a new version of openssl and openssh (last CD of expansion pack and toolbox) and now it works fine.

Thank you for your great help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top