Operating System - HP-UX
1755261 Members
4833 Online
108831 Solutions
New Discussion юеВ

SCP --- Without promting for Password

 
madhuchakkaravarthy
Trusted Contributor

Re: SCP --- Without promting for Password

hi

touch the file .rhosts and add entry in home dir in both servers.

but doing this is a security violation.

regards

MC
Vidhya B
Frequent Advisor

Re: SCP --- Without promting for Password

Hi,

Ok I am not aware of that.

I don't want to do it. That might put me in trouble. Is there anything else I have to do other than the steps I have done for scp before.

Is there anything I should do in sshd_config file?
Steven Schweda
Honored Contributor

Re: SCP --- Without promting for Password

> [...] As usual, showing actual commands
> with their actual output can be more helpful
> than vague descriptions or interpretations.

Which part of that was unclear?

> Then I shared this key to the other server.

Which file (or files) did you "share"? What,
exactly, does "share" mean to you? For
example, what do these commands show on the
two systems?:

ls -ld .ssh
ls -lR .ssh

_Those_ are actual commands. "I shared this
key to the other server" is noise, which
conveys no useful information.

> I checked the logs also.

Which "the logs" would those be? What,
exactly, did you "check", where?

> debug1: Next authentication method: keyboard-interactive

The server is rejecting your key data. I do
not know why. The server knows why. I'll
try this one last time:

LOOK AT THE SYSTEM LOG FILE ON THE SERVER
TO SEE WHAT IT DIDN'T LIKE.