Paul DiSciascio on 3 Aug 2009 18:01:35 -0700 |
From your initial post, it looks like sftp-server is simpy starting and immediately exiting. Are you able to run sftp-server directly? It should just sit there, but at least you'll know it works ok (linking is good, etc). I think sean's suggestion about running it in the foreground with the verbosity all the way up is the way to go. You could also attach to the sshd process with strace and include children processes and you'll be able to see the system calls its making and files its opening. (e.g. strace -p <pid> -f). ~Paul On Aug 3, 2009, at 6:46 PM, Eric wrote: > sean finney wrote: >> On Sun, Aug 02, 2009 at 08:03:04PM -0400, Eric wrote: >> >>> Ah yes! This is a good idea. Several years ago I had trouble >>> with ssh >>> because of this kind of thing. >>> Unfortunately, I tried your suggestion but no joy... sftp still >>> exits >>> right after it starts. >>> >> >> if you do "ssh user@host true" does it produce anything on stdout/ >> stderr? >> stuff like login scripts spitting out /etc/issue or /etc/motd can >> cause >> problems in my experience. >> >> >> sean >> > I tried that command and it simply returns me to my prompt without > logging me in to the server. There was no discernable output. > > Now... when I log in with ssh I get this: > > ======================================== > Linux master1.vps 2.6.18-128.1.1.el5.028stab062.3 #1 SMP Sun May 10 > 18:54:51 MSD 2009 i686 > > The programs included with the Ubuntu system are free software; > the exact distribution terms for each program are described in the > individual files in /usr/share/doc/*/copyright. > > Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by > applicable law. > > To access official Ubuntu documentation, please visit: > http://help.ubuntu.com/ > Last login: Sun Aug 2 22:49:36 2009 from > pool-174-99-32-101.phlapa.fios.verizon.net > eric@master1:~$ > ======================================== > > In my testing I moved .bashrc to .bashrc-skip and sftp still did not > work. > > Thanks, > 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 ___________________________________________________________________________ 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
|
|