LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-23-2010, 08:07 PM   #1
borepstein
LQ Newbie
 
Registered: Jun 2010
Location: Boston, MA, USA
Distribution: OpenSUSE, Ubuntu, Centos
Posts: 10

Rep: Reputation: 2
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.
 
Old 06-24-2010, 04:02 AM   #2
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
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?
 
Old 04-30-2011, 12:27 PM   #3
borepstein
LQ Newbie
 
Registered: Jun 2010
Location: Boston, MA, USA
Distribution: OpenSUSE, Ubuntu, Centos
Posts: 10

Original Poster
Rep: Reputation: 2
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.
 
  


Reply

Tags
openssh, opensuse



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenSSH 4.7+ chroot-ed SFTP and CentOS 5.3 iSpaZZZ^ Linux - Software 2 06-04-2010 09:51 AM
openssh sftp johnh10000 Linux - Software 1 05-28-2010 03:13 PM
openssh and sftp problem saifkhan123 Linux - Server 4 09-15-2009 01:52 AM
openssh sftp chrooting all users davidstvz Debian 1 05-30-2009 04:06 AM
dont want sftp on OpenSSH e1000 Linux - Software 3 12-08-2004 12:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration