OpenSSH_3.1p1 auth problems
From: Robert Singleton (bobs001@earthlink.net)Date: 08/22/02
- Next message: Vilmos Soti: "Re: OpenSSH_3.1p1 auth problems"
- Previous message: Auto Joe: "ssh session key"
- Next in thread: Vilmos Soti: "Re: OpenSSH_3.1p1 auth problems"
- Reply: Vilmos Soti: "Re: OpenSSH_3.1p1 auth problems"
- Reply: : "Re: OpenSSH_3.1p1 auth problems"
- Reply: Richard E. Silverman: "Re: OpenSSH_3.1p1 auth problems"
- Reply: Robert Singleton: "Re: OpenSSH_3.1p1 auth problems"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: Robert Singleton <bobs001@earthlink.net> Date: Thu, 22 Aug 2002 03:05:49 GMT
I'm running OpenSSH_3.1p1 on RedHat7.3, and I can only
get password authentication working. However, I would
like to have public key authentication working. I've
read the SSH O'Reilly book, but their directions are
not working (so what am I doing wrong?):
Let's call the local host "Host-A" and remote host "Host-B".
On each host I have an account called "bobs", and I would
like to logon to Host-B FROM Host-A using public key auth.
I have created public-private key pairs in both accounts using
ssh-keygen. I then do the following:
1. Copy the local public key to the authorized_keys file on
the remote host.
bobs@Host-A bobs@Host-B
.ssh/identity.pub ==> .ssh/authorized_keys
2. Set file permissions in remote directory bobs@Host-B
% chmod 755 ~/.ssh
% chmod 644 ~/.ssh/authorized_keys
The client file /etc/ssh/ssh_config on Host-A will allow
public key authentication by clients (I think this is the
"RSAAuthentication yes" flag). The server file /etc/sshd_config
on Host-B will allow public key authentication (via the flag
"PublicKeyAuthentication yes"). However, when I ssh on Host-A
to Host-B I am always prompted for a password. I have turned
the password flag off in Host-A:/etc/ssh/ssh_config and kept
the RSAAuthentication flag on, and then I receive the error:
Host-A% ssh -l bobs Host-B
Permission denied (publickey,password,keyboard-interactive).
This seems to indicate that my ONLY authentication option
is password authentication. Any suggestions? Thanks very
much.
Robert Singleton
- Next message: Vilmos Soti: "Re: OpenSSH_3.1p1 auth problems"
- Previous message: Auto Joe: "ssh session key"
- Next in thread: Vilmos Soti: "Re: OpenSSH_3.1p1 auth problems"
- Reply: Vilmos Soti: "Re: OpenSSH_3.1p1 auth problems"
- Reply: : "Re: OpenSSH_3.1p1 auth problems"
- Reply: Richard E. Silverman: "Re: OpenSSH_3.1p1 auth problems"
- Reply: Robert Singleton: "Re: OpenSSH_3.1p1 auth problems"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|