![]() |
Accessing the N900 via SSH from Laptop
Although the topic of setting up a SSH connection has been repeatedly covered (particularly in http://talk.maemo.org/showthread.php?t=18798 ), I am still unable to access my N900 from my Laptop
On the N900 I installed OpenSSH Client/Server. Now: Is there anything else I have to do? For instance, create a user? If so, how do i do that? (I am a noob....) I tried to figure out the IP of the N900 using the command "ifconfig". However I have problems interpreting the output: Under Link encap:UNSPEC it is written: inet addr:10.77.247.53 which is followed by Link encap:Local Loopback inet addr: 127.0.0.1 If I use the site www.getip.config I get something like 82.113.106.96 Which of those is my ip? I entered all 3 ips in the Putty on my laptop, but failed to connect. Any thoughts? Thx! |
Re: Accessing the N900 via SSH from Laptop
Quote:
if you want to connect over 3G to your phone - that's probably not going to work, since you don't get a public IP address over 3G. if the address you mentioned (10.77.247.53) is from the 3G interface (it's called "gprs0" on my device), it definately isn't going to work, because 10.* is a private network, typical for 3G connections. |
Re: Accessing the N900 via SSH from Laptop
Yes, this was a 3G connection. So, if I understood you right, I will never be able to access the phone when on 3G?
I also have wlan at home. Suppose I use that connection (what I do, when at home). What would I have to do? wlan01 output from ifconfig reads: 192.170.0.158 (connection is established by a router wlan-router) |
Re: Accessing the N900 via SSH from Laptop
Quote:
For connection by ssh you should be in same network. You can do it by connection to WiFi router but Public Wifi usually forbid client-client connection. You will need some private Wifi Like way (if you don't have private wifi) you can use VPN connection to some network (same network from phone and notebook). If you use VPN than you will be like in same network. |
Re: Accessing the N900 via SSH from Laptop
Quote:
ssh root@192.170.0.158 you will be asked about connection too new computer (yes/no) and about password. |
Re: Accessing the N900 via SSH from Laptop
Quote:
Quote:
|
Re: Accessing the N900 via SSH from Laptop
Thanks so far guys! Ok, looks like I am slowly getting it. I will only be able to access my phone via SSH if the laptop is in the same wlan network.
Then I would have to enter the IP into Putty , which I get from ifconfig wlan0. What about creating a ssh user account? Do I have to? If yes, how? |
Re: Accessing the N900 via SSH from Laptop
Quote:
user is disable for ssh until it will have password. you can open x-terminal and type: 1. sudo gainroot 2. passwd user after this enter new password for user. |
Re: Accessing the N900 via SSH from Laptop
Thanks to your help it works!!!
Is there a possibility to get the whole N900 Gui (not only a terminal like with Putty) onto my laptop (which is running WinXP?) |
Re: Accessing the N900 via SSH from Laptop
Quote:
but you can add a dedicated user if you want: Code:
sudo gainroot |
| All times are GMT. The time now is 00:43. |
vBulletin® Version 3.8.8