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

Re: ssh works, scp hangs [SOLVED]



On Fri, Apr 08, 2005 at 10:33:32AM -0500, Matt Zagrabelny wrote:
>On Fri, 2005-04-08 at 09:56 -0500, Matt Zagrabelny wrote:
>> hello,
>> 
>> i guess i am needing help from some ssh grand masters...
>> 
>> scenario:
>> 
>> two debian boxes with sshd running on both.
>> ssh from A to B works
>> ssh from B to A works
>> scp from A to B works
>> scp from B to A hangs
>
>ok, it had to do with my default shell and its config files.
>
>our (my university's) password pusher pushes /bin/csh as everyones
>default shell (uggh).
>
>so on box A i have:
>
>$ grep mzagrabe /etc/passwd
>mzagrabe:x:20484:101:Matthew P Zagrabelny:/home/mzagrabe:/bin/csh
>
>$ cat ~/.cshrc
>setenv SHELL /bin/bash
>exec /bin/bash
>
>if i clean out my .cshrc file, everything works fine.
>

You should test if it is an interactive shell, and then exec bash.



Reply to: