View Single Post
Posts: 134 | Thanked: 91 times | Joined on Nov 2009 @ Imperial College London
#30
Originally Posted by leetut View Post
i get:
network error: connection refused
only started happening this morning, worked fine for the past month
anyone know why?

i get:
network error: connection refused
only started happening this morning, worked fine for the past month
anyone know why?

i get:
network error: connection refused
only started happening this morning, worked fine for the past month
anyone know why?
i get:
network error: connection refused
only started happening this morning, worked fine for the past month
anyone know why?

i get:
network error: connection refused
only started happening this morning, worked fine for the past month
anyone know why?

i get:
network error: connection refused
only started happening this morning, worked fine for the past month
anyone know why?

i get:
network error: connection refused
only started happening this morning, worked fine for the past month
anyone know why?
Patience grasshopper. I imagine many people that may have been able to help have been put off by the fact you have posted this approximately 1000 times across numerous threads in less than a day!

There are many variables here. Some suggestions:
  • Have you definitely installed the ssh server on your phone (not just the client)? If you have previously had a successful connection with this install then don't worry about this one.
  • Have you accidentally stopped the ssh daemon? You can test with "ps -A | grep sshd" in a terminal. You should see an sshd process owned by root.
  • Have you accidentally messed with any files in /home/user/.ssh or /root/.ssh (for example to attempt to set up a key based connection)?
  • Have you for some reason changed the permissions on /home/user or /root? Maybe to allow you to view files in /root as user? If these directories are too permissive then you won't be able to connect.
  • Are you typing the password in correctly?
  • Are you trying to ssh in as user instead of root (I think this may be disallowed by default).
  • Are you trying to SSH in to your phone while it's connected to wifi, using the correct IP? If you are on 3G you will not be able to connect.

There are probably more things, these are just off the top of my head. If this doesn't work you could try enabling logging in winscp to get more information. See here.

EDIT: Thought of another one: Make sure you're using scp, not sftp to connect. If memory serves winscp allows both.

Cheers,
Jan

Last edited by Big Phat Jan; 2010-02-01 at 12:46.
 

The Following User Says Thank You to Big Phat Jan For This Useful Post: