When I ssh-keygen a passwordless key pair for root and give the public key 
to openssh server(sshsrv), then it is ok to 
        # ssh [EMAIL PROTECTED]

But when I generate a password key pair for root and give the public key 
to openssh server(sshsrv), then I fail to 
        # echo "rootpasswd" | ssh [EMAIL PROTECTED]
and get the follow message:
        Pseudo-terminal will not be allocated because stdin is not a terminal.
        Enter passphrase for key '/root/.ssh/id_rsa':

How can I login into ssh server automaticly, without getting the prompt?        

Best Regard

Jacky Kim
.


-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to