I was trying to get a file from my home PC using SSH, from my Android phone - connection went fine, but directory listing hanged. I've tried then using a PC with ubuntu, in nautilus - hang again when listing files. Then, I ended up summarizing it in the following commands on the terminal:
john@pc1~> ssh email@example.com -p 2245 firstname.lastname@example.org's password: ***** Welcome to Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-34-generic x86_64) Last login: Fri Dec 7 15:00:02 2012 from **** email@example.com:~$ ls Área de Trabalho Documentos examples.desktop index.html Música Ubuntu One why.txt cond_121203.txt Downloads Imagens Modelos Público Vídeos workspace firstname.lastname@example.org:~$ ls -lsh > this_works.txt email@example.com:~$ ls -lsh total 88K 4,0K drwxr-xr-x 2 nill nill 4,0K Nov 25 22:21 Área de Trabalho ...
... the client hangs again - CTRL+C or CTRL+D cannot leave the connection or stop the LS process. Issuing 'cat' on the generated text file (trough ssh) does not hang, neither it have any special content. After some re-connections to make tests, I foun out that 'top' behaves the same, hanging the client.
Any ideas what it could be? (client is ubuntu 12.04 too, btw, but also hanged an android client)