PDA

View Full Version : winSCP trouble!!!


Adctve
09-24-2009, 06:59 AM
ok ive downloaded a winscp and tunnel. when i try to login, it says network error: software caused connection abort!

what do i do???:dft006:unhappy

patrickj
09-24-2009, 08:36 AM
Some things to check:



If you get a timeout error, try increasing the timeout setting
Make sure SSH is turned on, on the iPhone – Generally the easiest way to do this is to use an app like SB Settings that gives you a GUI interface to toggle the service on and off with.
Make sure WiFi is turned on, on the iPhone – again, via SB Settings or the iPhone’s built-in Settings applet.
Check that you are specifying the right port in your desktop SSH app (e.g. WinSCP on Windows or Cyberduck on Mac). The port needs to be 22.
Make sure you are entering the correct – and *current* – IP address for the iPhone. If your iPhone gets a DHCP (dynamically configured) IP address from your router (as most do), then its address can and will change over time. So its IP address today may be different to the one it had last week when you last successfully connected. To check this go to Settings > WiFi – and tap on the blue arrow next to your active WiFi connection – the screen that takes you to will display the iPhone’s current IP address.
Verify that the iPhone has a *valid* IP address. When you are checking the address per the above point, if you see an address that starts with 169.254.x then the iPhone is not getting a usable IP address – and you need to troubleshoot that issue first.
Remember that the iPhone and the PC you’re tying to connect from must be on the same WiFi network. One of the easiest ways to tell this is to see if their IP addresses look similar. For instance, many default home WiFi networks will have IP addresses that start with 192.168.x.
Check that you do not have any antivirus, firewall, or security software on your PC that may be blocking your outbound SSH connection. One of the easiest ways to quickly rule this out (or pin the blame on it) is to shut down any and all of those services on your PC temporarily and try connecting. If it still fails, you know those services are not to blame.
Password check – you need to be using the correct username and password for connection to the iPhone. If you have never changed these (which the vast majority of iPhone users have not – and you would know if you did) then the most likely defaults are username ‘root’ and password either ‘alpine’ or ‘dottie’. Please note – you do not type the ‘’ inverted commas around the username or password.
The iPhone cannot be in ‘sleep mode’ when you are trying to connect. You may just want to change your Auto-Lock setting to ‘Never’ just for while you are connecting – to avoid this issue.
Make sure you are using the correct protocol setting in your desktop SSH app. This varies according to which client app you are using. WinSCP uses SCP, for example.