Re: hostbased auth between commercial and OpenSSH
From: Erin Michaud (erin.michaud@tufts.edu)
Date: 12/20/02
- Next message: Stuart Mills: "scp and large MTUs"
- Previous message: Shing-Fat Fred Ma: "Crashing desktops, flaky connection"
- In reply to: Richard E. Silverman: "Re: hostbased auth between commercial and OpenSSH"
- Next in thread: Richard E. Silverman: "Re: hostbased auth between commercial and OpenSSH"
- Reply: Richard E. Silverman: "Re: hostbased auth between commercial and OpenSSH"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: Erin Michaud <erin.michaud@tufts.edu> Date: Fri, 20 Dec 2002 13:35:10 GMT
Sorry, not a very information filled orig. question - I was feeling a
little brain dead!
The server just rejects hostbased from OpenSSH client saying method is
disabled, I feel I'm really close and just missing something simple,
but I can't figure out what:
Client side (OpenSSH) debug snippet (I've got hostbased as only
preferred method in users .ssh/config file):
debug1: authentications that can continue: hostbased,publickey,password
debug3: start over, passed a different list hostbased,publickey,password
debug3: preferred hostbased
debug3: authmethod_lookup hostbased
debug3: remaining preferred:
debug3: authmethod_is_enabled hostbased
debug1: next auth method to try is hostbased
debug2: userauth_hostbased: chost myclienthost
debug2: we sent a hostbased packet, wait for reply
Received disconnect from myserverhost: 12: Authentication method
disabled.
debug1: Calling cleanup 0x20002ef0(0x0)
Server side (commercial SSH) debug snippet:
debug: Becoming server.
debug: Creating listener
debug: Listener created
debug: Running event loop
debug: ssh_server_wrap: creating transport protocol
debug: ssh_server_wrap: creating userauth protocol
debug: new_connection_callback returning
debug: Remote version: SSH-2.0-OpenSSH_3.4p1
debug: ssh_sigchld_real_callback
debug: ssh_sigchld_process_pid: no handler for pid 152072 code 0
debug: Exiting event loop
Serverside syslog output:
Dec 20 08:06:35 myserverhost sshd2[30332]: hostbased-authentication
(rhosts) refused: client user 'myusername', server user 'myusername',
client host 'myclienthost'.
Dec 20 08:06:35 myserverhost sshd2[30332]: Remote host disconnected:
Authentication method disabled. (u
ser 'myusername', client address 'myclienthost:33406', requested service
'ssh-connection')
Dec 20 08:06:35 myserverhost sshd2[30332]: User authentication failed:
'Authentication method disabled.
(user 'myusername', client address 'myclienthost:33406', requested
service 'ssh-connection')'
Server sshd2_config file:
Port 22
ListenAddress 0.0.0.0
Ciphers AnyStd
IdentityFile identification
AuthorizationFile authorization
HostKeyFile hostkey
PublicHostKeyFile hostkey.pub
RandomSeedFile random_seed
ForwardAgent yes
ForwardX11 yes
PasswordGuesses 3
MaxConnections 50
PermitRootLogin no
AllowedAuthentications hostbased,publickey,password
ForcePTTYAllocation no
VerboseMode no
PrintMotd yes
CheckMail yes
UserConfigDirectory "%D/.ssh2"
SyslogFacility DAEMON
Ssh1Compatibility yes
Sshd1Path /usr/local/ssh2/sshd1
AllowSHosts myclienthost
RequireReverseMapping yes {note: tried setting this
no as well, same result)
UserKnownHosts yes
subsystem-sftp /usr/local/ssh2/sftp-server
Server side user files:
~/.shosts perms are 600 contents= myclienthost myusername
~/.ssh2/authorization perms are 600 contents=Key myclienthost.id_dsa.pub
and myclienthost.id_dsa.pub (this is the user-generated pub. key from
myclienthost, not host key) is in this directory and myclienthost's
host key has been accepted as a known host.
I think I just need a pair of good eyes to see whatever silly thing I'm
missing that is keeping this from working.....
Erin
"Richard E. Silverman" wrote:
>
> >>>>> "EM" == Erin Michaud <erin.michaud@tufts.edu> writes:
>
> EM> Has anyone been able to get hostbased auth working between a
> EM> commercial-verion ssh server and an OpenSSH client using .shosts?
>
> Yes; what's the problem?
>
> --
> Richard Silverman
> slade@shore.net
- Next message: Stuart Mills: "scp and large MTUs"
- Previous message: Shing-Fat Fred Ma: "Crashing desktops, flaky connection"
- In reply to: Richard E. Silverman: "Re: hostbased auth between commercial and OpenSSH"
- Next in thread: Richard E. Silverman: "Re: hostbased auth between commercial and OpenSSH"
- Reply: Richard E. Silverman: "Re: hostbased auth between commercial and OpenSSH"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|