Eric on 3 Aug 2009 15:47:14 -0700


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

Re: [PLUG] sftp weirdness


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