![]() |
please help with ssh
hay guys, i need to connect my n900 to my win7 64bit laptop, i have had the n900 since januery and never used ssh, and decided its time to learn, how ever i cant seam to find any walk throus or guides so im after some help,
i have downloaded winscp on to my laptop and openssh client and server on to the n900 but dont know what to do next lol? thanks for any help snake |
Re: please help with ssh
First you need to either know the root password or you need to set the password for another user.
(Installing ssh on the device forces you to change it anyway!) Then get your devices ip (i am using wireless) - In terminal type Code:
ifconfig http://content.screencast.com/users/...11-08_1759.png In the result you will get something that looks like the IP. One you know that complete the winscp screen like this: http://content.screencast.com/users/...11-08_1755.png Click Login http://content.screencast.com/users/...11-08_1757.png Enter the root password! (Done!) If you the login box stalls, try connecting to a website, anyone on your n900, and either wait or rety it - sometimes the n900 just needs a wake up ;) |
Re: please help with ssh
Caveats and hints:
You cannot login from another host into your N900 when using GPRS, at least not if it uses ppp. A lan connection (generally 192.168.x.x) will do fine. You must setup a connection from the N900 to your lan first. You can login as user@192.168.x.x; which does not need changes to sshd.conf. root login is a no-no and should be disabled by default. Paai PS: There is a widget that displays your IP number on the N900 desktop. |
Re: please help with ssh
Quote:
in terminal i have sudo gainroot then ifconfig found inet addr types this in host name on winscp put root as the user name hit login but nothing happens after this, your second screen shot does not apear so then i uninstalled and reinstalled winscp, however this didnt solve the problem any ideas??? oh and btw both laptop and n900 can access the internet as normal |
Re: please help with ssh
In your N900 status bar thingy at the top do you have a button that says SSH Status? As that turns SSH on or OFF - it's off after each reboot etc for me, so i need to remember to turn it back on
edit - forgot to mention, that status bar things can scroll up and down too - so it may not always look like it is there. Found googley image here http://www.my-maemo.com/grafika/sshswitcher.jpg |
Re: please help with ssh
there is no option for ssh in my status bar!!! hmmmm that could be the problem
|
Re: please help with ssh
or... your IP address was wrong or a firewall on your PC is blocking WinSCP
|
Re: please help with ssh
:) possibly either of those too hehehe :P
|
Re: please help with ssh
Meh just found out thats not installed by default - no harm in having it though!
http://maemo.org/downloads/product/Maemo5/ssh-status/ |
Re: please help with ssh
but you also need password. When you were setting up SSH on N900 at some point you had to enter some password. That password you need to enter beside user name in winscp.
I'm using filezilla on ubuntu and everything went fine at very first attempt. I also set up fixed IP for my N900 and make a bookmark in filezilla so SSH is just a click away. edit: And of course, you have to turn SSH on on your N900. Either with applet (install separately) in your status bar or via terminal. |
All times are GMT. The time now is 16:55. |
vBulletin® Version 3.8.8