Afficher un message
Vieux 24/08/2006, 07h52   #2
aarcee
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: scp in non-interactive sessions problem?

It looks like the key hasn't been shared properly. From non-interactive
i suppose

you would be using public keys.

Try running the below at the destination server
/usr/local/sbin/sshd -d -p 5000
and at the source
ssh -vvv -p 5000 "dest hostname"

You can really trouble shoot with this

Regrds
RC


Jens K S wrote:
> Hi all im new to the list,
>
> Im having a problem when using scp from within an other application and
> therefore in non-interactive mode. I continue getting:
>
> Permission denied, please try again.
> Permission denied, please try again.
> Permission denied (publickey,gssapi-with-mic,password).
>
> I can connect fine in interactive mode and I haven't send any password
> yet...I am suspecting that my shell produces some unwanted output for
> the session. As described in http://www.openssh.com/faq.html#2.9, but
> running
>
> ssh yourhost /usr/bin/true
>
> generates no unwanted output?
>
> Has anyone had similar problems and how did they solve it? Im running OS
> X 10.4.x. and bash as default shell.
>
> Thanks
>
> Jens


  Réponse avec citation
 
Page generated in 0,05770 seconds with 9 queries