Eric on 2 Aug 2009 05:41:38 -0700


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

[PLUG] sftp weirdness


I have a new server setup running Ubuntu 8.04 LTS and it's got a small 
problem.

ssh works just fine but sftp authenticates and then dies.

Here is some of the relevant portion of the /var/log/auth.log:

Aug  2 12:09:16 master1 sshd[1944]: subsystem request for sftp
Aug  2 12:09:16 master1 sshd[1944]: debug1: subsystem: exec() 
/usr/lib/openssh/sftp-server
Aug  2 12:09:16 master1 sshd[1944]: debug1: Received SIGCHLD.
Aug  2 12:09:16 master1 sshd[1944]: debug1: session_by_pid: pid 1945
Aug  2 12:09:16 master1 sshd[1944]: debug1: session_exit_message: 
session 0 channel 0 pid 1945
Aug  2 12:09:16 master1 sshd[1944]: debug1: session_exit_message: 
release channel 0
Aug  2 12:09:16 master1 sshd[1944]: debug1: session_by_channel: session 
0 channel 0
Aug  2 12:09:16 master1 sshd[1944]: debug1: session_close_by_channel: 
channel 0 child 0
Aug  2 12:09:16 master1 sshd[1944]: debug1: session_close: session 0 pid 0
Aug  2 12:09:16 master1 sshd[1944]: debug1: channel 0: free: 
server-session, nchannels 1

File exists:
ls -l /usr/lib/openssh/
total 216
-rwxr-xr-x 1 root root  43268 May 14  2008 sftp-server
-rwsr-xr-x 1 root root 168340 May 14  2008 ssh-keysign

Install seems okay:
dpkg -l |grep openssh
ii  openssh-blacklist                 0.1-1ubuntu0.8.04.1         list 
of blacklisted OpenSSH RSA and DSA keys
ii  openssh-client                    1:4.7p1-8ubuntu1.2          secure 
shell client, an rlogin/rsh/rcp repla
ii  openssh-server                    1:4.7p1-8ubuntu1.2          secure 
shell server, an rshd replacement

Tried upgrading:
apt-get install openssh-client openssh-server
Reading package lists... Done
Building dependency tree      
Reading state information... Done
openssh-client is already the newest version.
openssh-server is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 23 not upgraded.


Any ideas what's going wrong here?  (and more importantly, how I fix it?)


TIA

Eric

-- 
#  Eric Lucas
#
#                "Oh, I have slipped the surly bond of earth
#                 And danced the skies on laughter-silvered wings...
#                                        -- John Gillespie Magee Jr

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug