LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   SFTP seems to fail for NIS accounts under OpenSSH 5.x (http://www.linuxquestions.org/questions/linux-server-73/sftp-seems-to-fail-for-nis-accounts-under-openssh-5-x-816020/)

borepstein 06-23-2010 08:07 PM

SFTP seems to fail for NIS accounts under OpenSSH 5.x
 
Hi all,

I have recently discovered the following: when I attempt to connect to any of our machines that are OpenSSH 5.x (Ubuntu 10 or OpenSuSE 11.x in our case) as one of the users defined in the NIS domain that fails. For instance, me (user bepstein) can SSH into all those machines but not SFTP. I can SFTP into those machines on the network that are OpenSSH 4.x, however (CentOS 5.3 - 5.4, OpenSUSE 10.3).

As a user defined locally on the machine (in /etc/passwd ) I can connect via either SSH or SFTP even if the machine is OpenSSH 5.x.

Some further discussion of that issue is available here:
http://readlist.com/lists/suse.com/s...38/193419.html

Any insight into what this problem is and how to fix it will be very much appreciated.

Cheers,

Boris.

timmeke 06-24-2010 04:02 AM

What do you mean by login fails - what is the error message?
Looking at the link, you seem to have explored syslog. Did you have a look at all logs, eg for a trace of the login attempt?
Do you have multiple sftp executables (ie could you be calling the wrong one, which maybe uses a bad ssh config)?
I assume you also tried the sftp -v for more verbose output?

borepstein 04-30-2011 12:27 PM

OK, here's what it was it seems:

http://technonutsnbolts.blogspot.com...tp-vs-ssh.html

Something fishy in the dot files (.bashrc or such).

Boris.


All times are GMT -5. The time now is 11:25 AM.