Unable to establish SSH connection
Peter Stuge
stuge-openssh-unix-dev at cdy.org
Mon Feb 26 19:03:11 EST 2007
On Sat, Feb 24, 2007 at 08:43:05AM -0500, Raj, Sathidevi wrote:
> Hello,
Hi,
> We are having the HPUX 11i as our OS platform. We are trying to
> establish SSH connection in the same machine to the other user.
> The idrsa.pub
Please check the filename of your private key against what ssh(1)
says is the default filename it will look for. Hint: It's not idrsa
> is generated using ssh-keygen and the same is copied
> to the remote user to the file authorized_keys. Also restarted the
> server.
>
> Now when I issue the command, ssh loginname at ipaddress, the expected
> result is it should not prompt for the password and connect to the
> remote user.
> Instead it is again prompting for the password.
There are several possible problems. I made one suggestion about
checking the filenames against the documentation to see if that's the
problem.
ssh and sshd also perform several checks for permissions and
ownership of files and directories before they are used. Please
verify that this is not the problem.
One way to avoid these two problems (filename and permissions) at
least on the client is to use ssh-agent and then ssh-add the private
key to the agent before trying to connect to the server. Please see
ssh-agent(1) for more information.
ssh automatically tries to use keys that it finds in an ssh-agent
running in the current session.
> May I expect the response immediately?
No. As you know all open source software comes with no warranty of
any kind. Please take a minute to read the LICENCE file in the
OpenSSH source distribution for full details.
> Confidential: This electronic message and all contents contain
> information from Syntel, Inc. which may be privileged, confidential
> or otherwise protected from disclosure.
Please don't send confidential messages to public mailing lists.
Further, a notice such as this can not change the security of
internet mail. If your company requires email security I suggest
using encryption and electronic signatures rather than requests such
as these. It's like writing "Plese don't read this" on a postcard.
//Peter
More information about the openssh-unix-dev
mailing list