Hey, all.
I'm trying to get a .shosts file working and am having no luck at all. Is
there any documentation on this at all? I'd like to use SSH as a
replacement for rsh.


I have the following:

SSH 2.0.13 running on Solaris 2.6 (SPARC) on 2 servers named Authserv and
Kenny

On Kenny, in ~gregor, there's a .shosts file containing these two
lines:
authserv.humboldt1.com  root
authserv.humboldt1.com  gregor
The permission on this file is 0400, owner is gregor.

On Kenny, the AllowedAuthentications is set to
"hostbased,publickey,password"

On Kenny, in /etc/ssh2/knownhosts, there's a file called
"authserv.humboldt1.com.ssh-dss.pub" which was FTP'd from Authserv. On
Authserv this file was called /etc/ssh2/hostkey.pub



>From Authserv, I issue the command "ssh gregor@kenny"
I'm asked for a password (which itself is odd, since I have a .shosts)

If I enter the password, I connect OK, and then the session hangs when I
try to exit. As in, if I ctrl-D to leave the shell, it'll sit there with a
"kenny$ ^D" for as long as I let it sit. If I hit a key, the connection is
lost. If I change AllowedAuthentications to not include the word
"hostbased", this hang does not occur.

If I don't enter the password, the client gets a message that the
authentication method is disabled and the server (running with -v and
--enable-debug) tells me simply "Hostbased operation failed for gregor"


Surely somebody out there uses SSH as a replacement for rsh. Surely
somebody remembers a detail of how it was done... I'd much appreciate any
tips.

--
Gregor Mosheh
[EMAIL PROTECTED]
On-Site Systems Admin, Humboldt Internet
707.825.4638

Reply via email to