Re: sftp -b <batch> refuses to connect

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

 



On Sat, 2 Jul 2005, Ralf Corsepius wrote:

On Fri, 2005-07-01 at 18:21 -0400, Nancy Merckle wrote:
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.
Which keys (key-files) are you referring to?

The password keys... the files that tell the system you are connecting to that you are a trusted user on a trusted system.

Does "sftp user@somesite" require you to enter a password?

If it does, then system you are using doesn't recognize whatever "password file" has been set up for automatic connection. This "password file" can be set up with ssh keys, or through .netrc. (And maybe other ways too, these are the only ones I'm familiar with.)

If it doesn't require a password, then I have no idea where the problem may be.


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