cancel
Showing results for 
Search instead for 
Did you mean: 

sftp without password

mparasur
Advisor

sftp without password

Hi All,

I want to do sftp to a server with root account without password.I did keygen and copied the public file to the server. But it is asking for the password everytime. However I can do sftp without password for normal users.

Require your help to resolve the issue.

Thanks,
Mani
4 REPLIES
Avinash20
Honored Contributor

Re: sftp without password

ensure that PermitRootLogin is allowed in sshd_config.
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Avinash20
Honored Contributor

Re: sftp without password

Please refer to
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=940634
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Eric SAUBIGNAC
Honored Contributor

Re: sftp without password

Bonsoir,

May be permissions on target system, on root's home directory or ~root/.shh, are too permissive. In this case you should find in syslog.log a warning about it.

Eric
Steven E. Protter
Exalted Contributor

Re: sftp without password

Shalom,

It is almost always permissions and ownership.

Check this document:
http://www.hpux.ws/?p=10

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com