Re: sftp -b <batch> refuses to connect

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 1 Jul 2005, Ralf Corsepius wrote:

"sftp -b <batch> user@somesite" refuses to connect:

# sftp -b upload.ftp user@somesite
Permission denied (publickey,password,keyboard-interactive).
Couldn't read packet: Connection reset by peer

While "sftp user@somesite", i.e. interactively using sftp, works:
# sftp user@somesite
Connecting to somesite ...
Password: ...

ssh and scp access to the same site also works.

It looks to me like your keys are out of sync. You may need to update/regenerate them.

If you can sftp into the system, interactively, the only thing left is the part that makes it automatic.

Oh, another mistake I frequently make is trying to run a batch file when the file isn't in the directory I'm in... but that is probably not the case here.

Hope this helps,

Nancy

--------------------------------------------------------------
nancym@xxxxxxxxx  ..... (future) http://www.charm.net/~nancym/
The Kitties Page  ...........  http://members.aol.com/Mysnats/
My Sister's Karaoke Site ............  http://karaokeklub.com/
--------------------------------------------------------------


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux