Openssh on solaris 9 x86

Openssh on solaris 9 x86

Post by NITP » Thu, 07 Apr 2005 00:40:53



Hi all,

can someone give me the steps to follow to uninstall openssh on on intel
(x86) machine running solaris 9, or explain to me what this error message
mean by running /etc/init.d/sshd start

sshd service starting.
/usr/local/sbin/sshd: syntax error at line 1: `(' unexpected

Best Regards
NITP

 
 
 

Openssh on solaris 9 x86

Post by Dragan Cvetkovi » Thu, 07 Apr 2005 00:51:11



> Hi all,

> can someone give me the steps to follow to uninstall openssh on on intel
> (x86) machine running solaris 9, or explain to me what this error message
> mean by running /etc/init.d/sshd start

> sshd service starting.
> /usr/local/sbin/sshd: syntax error at line 1: `(' unexpected

What does
     file /usr/local/sbin/sshd
print?

Dragan

--
Dragan Cvetkovic,

To be or not to be is true. G. Boole      No it isn't.  L. E. J. Brouwer

!!! Sender/From address is bogus. Use reply-to one !!!

 
 
 

Openssh on solaris 9 x86

Post by NITP » Thu, 07 Apr 2005 00:51:47


the /usr/local/sbin/sshd is a bin bin file but the one in /etc/init.d is a
text file

NITP



>> Hi all,

>> can someone give me the steps to follow to uninstall openssh on on intel
>> (x86) machine running solaris 9, or explain to me what this error message
>> mean by running /etc/init.d/sshd start

>> sshd service starting.
>> /usr/local/sbin/sshd: syntax error at line 1: `(' unexpected

> What does
>     file /usr/local/sbin/sshd
> print?

> Dragan

> --
> Dragan Cvetkovic,

> To be or not to be is true. G. Boole      No it isn't.  L. E. J. Brouwer

> !!! Sender/From address is bogus. Use reply-to one !!!

 
 
 

Openssh on solaris 9 x86

Post by Oscar del Ri » Thu, 07 Apr 2005 00:55:18



> can someone give me the steps to follow to uninstall openssh on on intel
> (x86) machine running solaris 9, or explain to me what this error message
> mean by running /etc/init.d/sshd start

> sshd service starting.
> /usr/local/sbin/sshd: syntax error at line 1: `(' unexpected

The sshd file is not an executable, or it is for the wrong platform
(sparc binary?) or is corrupted (badly stripped?)

The output of "file /usr/local/sbin/sshd" should help

 
 
 

Openssh on solaris 9 x86

Post by Dragan Cvetkovi » Thu, 07 Apr 2005 00:59:49






>>> Hi all,

>>> can someone give me the steps to follow to uninstall openssh on on intel
>>> (x86) machine running solaris 9, or explain to me what this error message
>>> mean by running /etc/init.d/sshd start

>>> sshd service starting.
>>> /usr/local/sbin/sshd: syntax error at line 1: `(' unexpected

>> What does
>>     file /usr/local/sbin/sshd
>> print?
> the /usr/local/sbin/sshd is a bin bin file but the one in /etc/init.d is a
> text file

Yes, but does
     $ file /usr/local/sbin/sshd

prints

/usr/local/sbin/sshd:   ELF 32-bit MSB executable SPARC Version 1, dynamically linked, stripped

or

/usr/local/sbin/sshd:   ELF 32-bit LSB executable 80386 Version 1, dynamically linked, stripped

??

--
Dragan Cvetkovic,

To be or not to be is true. G. Boole      No it isn't.  L. E. J. Brouwer

!!! Sender/From address is bogus. Use reply-to one !!!

 
 
 

Openssh on solaris 9 x86

Post by NITP » Sat, 09 Apr 2005 13:45:30


Thank you all

The thing is I was using the SPARC instead of i386 package by mistake and
right now my ssh is working fine.

NITP






>>>> Hi all,

>>>> can someone give me the steps to follow to uninstall openssh on on
>>>> intel
>>>> (x86) machine running solaris 9, or explain to me what this error
>>>> message
>>>> mean by running /etc/init.d/sshd start

>>>> sshd service starting.
>>>> /usr/local/sbin/sshd: syntax error at line 1: `(' unexpected

>>> What does
>>>     file /usr/local/sbin/sshd
>>> print?

>> the /usr/local/sbin/sshd is a bin bin file but the one in /etc/init.d is
>> a
>> text file

> Yes, but does
>     $ file /usr/local/sbin/sshd

> prints

> /usr/local/sbin/sshd:   ELF 32-bit MSB executable SPARC Version 1,
> dynamically linked, stripped

> or

> /usr/local/sbin/sshd:   ELF 32-bit LSB executable 80386 Version 1,
> dynamically linked, stripped

> ??

> --
> Dragan Cvetkovic,

> To be or not to be is true. G. Boole      No it isn't.  L. E. J. Brouwer

> !!! Sender/From address is bogus. Use reply-to one !!!