Notices


Reply
Thread Tools
Posts: 23 | Thanked: 1 time | Joined on Apr 2010
#1
hi, im new with with OpenSSH and i encountered some problems using it. Im using WinScp from windows.

The problem is that whenever i try to connect to my n900, the connecting window of winscp freezes and a connection timeout error pops up..

I have tried using another program - tunnelier but the same thing happens. I could ping my own device.

any help appreciated..
 
Posts: 527 | Thanked: 121 times | Joined on Feb 2010
#2
Hi buddy,

I have seen that error many times...
My cell switches someytime ip-adresses..

Install the app home Ip widget (or something like that).
It will show your Ip adress if you activate the widget in them desktop.

use that IP in the settings of WinSCP
Of course make sure you have installed the openssh client and server
 

The Following User Says Thank You to rolan900d For This Useful Post:
Posts: 146 | Thanked: 76 times | Joined on Feb 2010 @ Poland
#3
Originally Posted by rolan900d View Post
Hi buddy,

I have seen that error many times...
My cell switches someytime ip-adresses..

Install the app home Ip widget (or something like that).
It will show your Ip adress if you activate the widget in them desktop.

use that IP in the settings of WinSCP
Of course make sure you have installed the openssh client and server
If this doesn't help, please give VERY detailed (step by step) instructions how you configured ssh on your device.

There could be a problem with the setup.
__________________
Remember to click Thanks! if this post is of any help
 
Posts: 23 | Thanked: 1 time | Joined on Apr 2010
#4
thanks for the quick reply, but when i installed homeip nothing appears on the desktop or on the widget menu?
Tried rebooting already..
 
Posts: 23 | Thanked: 1 time | Joined on Apr 2010
#5
Originally Posted by Robb View Post
If this doesn't help, please give VERY detailed (step by step) instructions how you configured ssh on your device.

There could be a problem with the setup.
downloaded OpenSSH client & server

set password when installing

install homeip but didnt show up so i used ifconfig on Xterm to find IP address

in winSCP on my pc I typed the IP address from Xterm on Host name,
Port number left at default 22, User name : root, Password: same as when installing openssh.


On a side note, my wireless router is a Netgear.. could it be a problem with the router?
 
Posts: 146 | Thanked: 76 times | Joined on Feb 2010 @ Poland
#6
Did you create the certificates and copy them to your device?
__________________
Remember to click Thanks! if this post is of any help
 
Posts: 23 | Thanked: 1 time | Joined on Apr 2010
#7
Originally Posted by Robb View Post
Did you create the certificates and copy them to your device?
Would that be the .ppk file? where should i put it?
 
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#8
Originally Posted by jostefan13 View Post
thanks for the quick reply, but when i installed homeip nothing appears on the desktop or on the widget menu?
Tried rebooting already..
Its been awhile since installing home ip. I think it appears on one of the desktop automatically. If not, you may have to go Desktop menu>Add widget>choose home ip.

From the symptom you described, I think your ip address on the winscp log in is NOT correct.

You should be able to find your ip address from xterm or Health Check.

bun
 
Posts: 146 | Thanked: 76 times | Joined on Feb 2010 @ Poland
#9
Originally Posted by jostefan13 View Post
Would that be the .ppk file? where should i put it?
If I remember correctly PPK is created by PUTTYGEN?

If so, you have to open your key in PUTTYGEN and copy your KEY (window Public key for pasting into OpenSSH authorized_keys file) into a new_file.

This new_file you have to copy onto your device.

If you copied this new_file by USB connection, this new file will be residing in one of two locations:
1) /media/mmc1
2) /home/user/MyDocs
(I copied mine to /media/mmc1)

Then as root you have to do:
Code:
mkdir ~/.ssh
cat /media/mmc1/new_file >> ~/.ssh/authorized_keys
Then try to login.
__________________
Remember to click Thanks! if this post is of any help

Last edited by Robb; 2010-05-07 at 06:39.
 
Posts: 23 | Thanked: 1 time | Joined on Apr 2010
#10
Originally Posted by Robb View Post
If I remember correctly PPK is created by PUTTYGEN?

If so, you have to open your key in PUTTYGEN and copy your KEY (window Public key for pasting into OpenSSH authorized_keys file) into a new_file.

This new_file you have to copy onto your device.

If you copied this new_file by USB connection, this new file will be residing in one of two locations:
1) /media/mmc1
2) /home/user/MyDocs
(I copied mine to /media/mmc1)

Then as root you have to do:
Code:
mkdir ~/.ssh
cat /media/mmc1/new_file >> ~/.ssh/authorized_keys
Then try to login.
I did that but still same problem.. It keeps saying network connection timeout... Could it be IP problem as rolan and bunanson said? But i have used Xterm to check the IP address.
 
Reply


 
Forum Jump


All times are GMT. The time now is 21:51.