The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
sftp melanie_pfefer SUN Solaris 1 03-19-2008 12:00 PM
sftp RahJiggah OS X (Apple) 3 09-26-2007 06:13 AM
help in SFTP please help bsandeep_80 Shell Programming and Scripting 3 08-01-2007 11:33 AM
SFTP help bsandeep_80 SUN Solaris 1 07-30-2007 08:49 AM
sftp hugow UNIX for Dummies Questions & Answers 2 08-01-2006 04:23 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-11-2006
Registered User
 

Join Date: Sep 2005
Posts: 85
Using SFTP

I used to use an 'SFTP' command weekly, but all of a sudden it won't work.

I used to do: sftp -b <file with put commands> <username>@<server>

But all of a sudden every time that I try now I get:

Permission denied (publickey,password,keyboard-interactive).
Connection closed



Any ideas what would cause this???

Thank you!
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 08-11-2006
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 3,861
The remote authentication is failing on the box you connecting to.
Some possible reasons:
your account is disabled over there for a variety of reasons
The domain name or IP of the box you are sftp-ing from has changed.
You are on a new box trying to connect.
Reply With Quote
  #3 (permalink)  
Old 08-11-2006
Registered User
 

Join Date: Sep 2005
Posts: 85
I can sftp "manually" (where I have to type the password) fine. But when I do the -b option, it fails. Does that mean I can rule out possible cause #2?

Thanks!
Reply With Quote
  #4 (permalink)  
Old 08-11-2006
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 3,861
Quote:
Originally Posted by FredSmith
I can sftp "manually" (where I have to type the password) fine. But when I do the -b option, it fails. Does that mean I can rule out possible cause #2?

Thanks!
It means your account does work on the remote box.

Something external your authentication by password has changed -

Did you check your authentication keys?
Did the account/location you are connecting from change?
Did the sysadmin do something to security on the remote box?

In order to help, you have to indicate what is different.
Reply With Quote
  #5 (permalink)  
Old 08-14-2006
Registered User
 

Join Date: Sep 2005
Posts: 85
I don't run the box I'm connecting from, just the box I'm connecting to. Nothing has changed on the box I'm connecting to.

How can I check the authentication keys?
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 12:28 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0