The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > Security
.
google unix.com



Security Discuss UNIX and Linux computer and network security, cybersecurity, cyberattacks, IT security, CISSP, OWASP and more.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
FTP login failed. Stin SUN Solaris 2 02-01-2009 05:54 AM
sftp error : Host key verification failed rancid HP-UX 3 01-14-2009 05:28 AM
SFTP Failed---Request for subsystem 'sftp' failed on channel 0 mahiban AIX 0 07-25-2008 02:51 AM
SFTP error Assertion failed NoelSacay UNIX for Advanced & Expert Users 2 04-22-2008 02:24 PM
Last Failed Login gilberteu SUN Solaris 2 08-06-2007 10:32 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-19-2009
docmyles docmyles is offline
Registered User
  
 

Join Date: Aug 2009
Posts: 3
sftp login failed with valid (?) password

[I am new here. I tried searching before starting a new thread].
I need help troubleshooting a password-based sftp login. I'll list the messages I got from the verbose option. I entered my password when prompted but it was denied. If the password is assumed to be valid (unless that can be ruled out from the logging messages) can we pin the problem down to being on my end or that of my destination? Since this is not key-based sftp I have not exchanged any keys with the other party.
Thanks, in advance, for any help that can be provided.
----------------------------------------
$ sftp -v -oPort=10022 my_account@sftp.section111.cms.hhs.gov
Connecting to sftp.section111.cms.hhs.gov...
OpenSSH_4.5p1_q1.116, OpenSSL 0.9.8d 28 Sep 2006
debug1: Reading configuration data /etc/opt/quest/ssh/ssh_config
debug1: Connecting to sftp.section111.cms.hhs.gov [204.76.173.42] port 10022.
debug1: Connection established.
debug1: identity file /home/gsdev/.ssh/id_rsa type 1
debug1: identity file /home/gsdev/.ssh/id_dsa type 2
debug1: Remote protocol version 2.0, remote software version http://3sp.com_Maverick_SSHD
debug1: no match: http://3sp.com_Maverick_SSHD
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.5
debug1: Miscellaneous failure (see text)
open(/tmp/krb5cc_7018): No such file or directory
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: sending SSH2_MSG_KEXDH_INIT
debug1: expecting SSH2_MSG_KEXDH_REPLY
debug1: Host '[sftp.section111.cms.hhs.gov]:10022' is known and matches the DSA host key.
debug1: Found key in /home/gsdev/.ssh/known_hosts:27
debug1: ssh_dss_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
GIS SSH Server supporting SFTP and SCP
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Offering public key: /home/gsdev/.ssh/id_rsa
debug1: Authentications that can continue: publickey,password
debug1: Offering public key: /home/gsdev/.ssh/id_dsa
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: password
my_account@sftp.section111.cms.hhs.gov's password:
debug1: Authentications that can continue: publickey,password
Permission denied, please try again.
my_account@sftp.section111.cms.hhs.gov's password:
<at this point I escaped out>
$
  #2 (permalink)  
Old 08-23-2009
fpmurphy's Avatar
fpmurphy fpmurphy is offline Forum Staff  
Moderator
  
 

Join Date: Dec 2003
Location: Florida
Posts: 1,913
Are you able to login in using ssh?
  #3 (permalink)  
Old 08-23-2009
docmyles docmyles is offline
Registered User
  
 

Join Date: Aug 2009
Posts: 3
Thanks for taking the time to consider my problem.

(1) I tried to login using ssh from the UNIX box from which my eventual (?) sftp connection will be made; the attempt timed out.

(2) But, as background, I can log in using this account & password to the outside party's website. Their documentation says that the same account they provided to us for accessing their website would also work for the sftp to their platform.
  #4 (permalink)  
Old 08-24-2009
fpmurphy's Avatar
fpmurphy fpmurphy is offline Forum Staff  
Moderator
  
 

Join Date: Dec 2003
Location: Florida
Posts: 1,913
OK, that means that something is set up incorrectly on the Unix box. Do you manage this box i.e. have you root access to it?

The SSH server may have been built with TCP wrappers enabled. Use ldd to see if the executable contains the libwrap library. If so, check the contents /etc/hosts.allow and /etc/hosts.deny files. (man tcpd for more information)
  #5 (permalink)  
Old 08-24-2009
docmyles docmyles is offline
Registered User
  
 

Join Date: Aug 2009
Posts: 3
Thanks for the suggestion. I don't have root but I will run your idea past the folk(s) that run that UNIX box.
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:15 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0