1830487 Members
3033 Online
110005 Solutions
New Discussion

ssh gets me rlogin

 
Christopher Hodson
New Member

ssh gets me rlogin

After installing GOLDQPK11i_B.11.11.0406 (the June '04 patch bundle) ssh seems to be calling rlogin somewhere along the way. chatr gives a warning about updating my linker, but I'm not sure which patch would do this.

# ssh localhost
Usage: rlogin host [ -ex ] [ -l username ] [ -8 ]
# which ssh
/usr/bin/ssh
x# ls -l /usr/bin/ssh
lrwxr-xr-x 1 root sys 16 Feb 11 2003 /usr/bin/ssh -> /opt/ssh/bin/ssh
# ls -l /opt/ssh/bin/ssh
lrwxr-xr-x 1 root sys 27 Feb 11 2003 /opt/ssh/bin/ssh -> /opt/ssh/PA-RISC2.0/bin/ssh
# ls -l /opt/ssh/PA-RISC2.0/bin/ssh
-r-sr-xr-x 1 root bin 36864 Jul 9 2001 /opt/ssh/PA-RISC2.0/bin/ssh

# chatr /opt/ssh/PA-RISC2.0/bin/ssh
chatr(warning): dl_header_ext.size != sizeof(dl_header_ext). Please update your version of the linker.
/opt/ssh/PA-RISC2.0/bin/ssh:
shared executable
shared library dynamic path search:
SHLIB_PATH disabled second
embedded path enabled first /usr/lib:
shared library list:
dynamic /usr/lib/libdld.2
dynamic /usr/lib/libsis.sl
dynamic /usr/lib/libc.2
shared library binding:
deferred
global hash table disabled
plabel caching disabled
global hash array size:1103
global hash array nbuckets:3
shared vtable support disabled
static branch prediction disabled
executable from stack: D (default)
kernel assisted branch prediction enabled
lazy swap allocation disabled
text segment locking disabled
data segment locking disabled
third quadrant private data space disabled
fourth quadrant private data space disabled
third quadrant global data space disabled
data page size: D (default)
instruction page size: D (default)
nulptr references disabled
shared library private mapping disabled
shared library text merging disabled



4 REPLIES 4
RAC_1
Honored Contributor

Re: ssh gets me rlogin

What does following do??

/opt/ssh/PA-RISC2.0/bin/ssh "somehost"

Anil


There is no substitute to HARDWORK
Patrick Wallek
Honored Contributor

Re: ssh gets me rlogin

Try doing a:

# whence ssh

This will show the exact thing that is executed. You might have an alias for ssh set up somewhere. Whence will show the alias, 'which' will only show where in your path the executable is.



A quick example:

# which mv
/usr/bin/mv

# whence mv
mv -i

I have an alias for mv to do an 'mv -i'.
Christopher Hodson
New Member

Re: ssh gets me rlogin

I'm not sure what exactly broke, but here's the rest of the story:

It turns out apache wouldn't start with ssl enabled (something we tried after I posted this). This led us to thinking that ssl was the problem.

Turns out that upgrading Secure_Shell (and then apache) did the trick.

I must say, I didn't think this was the issue because we had used the bundle and this is exactly the kind of thing it's supposed to prevent. Oh well.

So, I had already tried both of your suggestions, but hadn't included them.
Christopher Hodson
New Member

Re: ssh gets me rlogin

As per above reply, upgrading ssl solved my problem. I'm not sure what was broken, but this made it better.