VNC (AndroidVNC) secure enough? Or should I SSH (Connectbot)? - G1 Android Development

Okay so I'm after opinions.. I've installed TightVNC on my PC and ran AndroidVNC, very pleased about remotely controlling my computer
I'm worried about security though. Is it worth setting up a SSH connection? I've never done it before.
If it is recommended I do this, how does that work? Do I connect via ConnectBot to the PC first then do I run AndroidVNC? And is a prog like PuTTy good enough to set up the SSH on the PC?

Related

That damn Remote Desktop Mobile simply doesnt work!

I dont get it. Why it is not working for me on any computer, with windows xp, windows 7 and windows server 2008?
I tried it on several wifi-networks, I get an IP and everything like surfing on the web or contacting the router etc works.
But if I try to connect via Remote Desktop Mobile, it stucks on "Connecting.."
What I tried:
- connect from other desktop-computers via remote desktop - works.
- add a new user with password because someone told me that is relevant - dont work
- connect via IP or Hostname, with Username and password and without - dont work
- Tried several versions of RDM on my hd2 - none works.
Does anyone has a hint for me what I could try else to get this crap working? Yes of course I could make a VNC - Server and connect via a viewer like dotnet-vnc-viewer (actually I tried that and it works, so why not via remote-desktop-mobile?)
Personally, I can connect with the IP address and nothing else (I actually use a dynamic DNS service, but that just resolves a name to an IP, so it's the same thing). If I do it like that then I get my normal windows login prompt and can enter a username and password.
What actually happens if you do that?
I assume you have been able to connect in the past with other winmo devices. Did you enable remote access on the host machine. Right click My Computer--Remote Access Tab. Win7 can be funny. You may have to disable enhanced security. I've had no problems connecting, but I only connect on my home wifi.
In order for remote desktop to work you MUST have a password in your account !
In addition to requiring a password, the WinMo RDP client does not support Network Level Authentication for RDP connections. You need to disable that on the host.
i seriously doubt you will be able to connect with the mobile version of RDP to either a Windows 7 or a Server 2008 Machine. The most likely case will be that you can not connect because Win7/2008 thinks you are on a unsafe OS -.-
You get the same problem when trying to connect to a windows 7 remote desktop from XP as well. Nothing new at all
Tokolosh said:
i seriously doubt you will be able to connect with the mobile version of RDP to either a Windows 7 or a Server 2008 Machine. The most likely case will be that you can not connect because Win7/2008 thinks you are on a unsafe OS -.-
Click to expand...
Click to collapse
I can connect fine to Windows 2008 R2, Windows 2008, Windows XP SP1, SP3 (didn't test SP2), Windows 2003 Server, Windows Vista, and Windows 7. Its not everything, but mostly everything. I tested this with the stock ROM and EnergyROM.
Tokolosh said:
You get the same problem when trying to connect to a windows 7 remote desktop from XP as well. Nothing new at all
Click to expand...
Click to collapse
I agree. You are warned that it is "potentially unsafe to connect". However, you can simply click something like "Connect anyway" and check off "Do not warn on future connections to this computer". Problem solved.
And to be clear, this is NT 6.x RDP Client to NT 5.x Host.
NT 6.x ~ Vista/7 & Server varients, NT 5.x (XP, etc).
This may not be the problem or any help to you as there are probably other more technical reasons why its not working for you.
I also struggled for a long time to get working but it never did but as I didn't really need it I never tried too hard. Until one day I Installed Windows 7 Ultimate. Then it just worked as it should.
So I assumed you had to have the Ultimate Version of Windows for it to work. I may be wrong though.
mideel said:
I dont get it. Why it is not working for me on any computer, with windows xp, windows 7 and windows server 2008?
I tried it on several wifi-networks, I get an IP and everything like surfing on the web or contacting the router etc works.
But if I try to connect via Remote Desktop Mobile, it stucks on "Connecting.."
What I tried:
- connect from other desktop-computers via remote desktop - works.
- add a new user with password because someone told me that is relevant - dont work
- connect via IP or Hostname, with Username and password and without - dont work
- Tried several versions of RDM on my hd2 - none works.
Does anyone has a hint for me what I could try else to get this crap working? Yes of course I could make a VNC - Server and connect via a viewer like dotnet-vnc-viewer (actually I tried that and it works, so why not via remote-desktop-mobile?)
Click to expand...
Click to collapse
Try to disable the phone, set it in flight mode, and just use wi-fi... btw have you enabled your server as an "terminal server"? i noticed that i just can connect to "terminal servers" never could connect to a work station, just a server.....
Strangely enough I just set this up yesterday, and it worked fine connecting to a Windows 7 box.
I just edited the port used (on PC I wanted to control) and forwarded the port through my router...
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\PortNumber
I then allowed blank passwords in Local Policies...
Control Panel\All Control Panel Items\Administrative Tools\Local Security Policy -> Local Policies\Secuirty Policies\Accounts: Limit local use of blank passwords (Disable)
It connected fine over the network and over the internet (using dynadns org account). It was impractical to use though because of the resolution and my fat sausage fingers, but still pretty cool.
Les
Ok guys, thanks for your help so far.
Okay, I will try to clarify my situation:
I already tried to connect with Flight-Mode, only wifi working. I CAN ping my HD2 and can ping the host I want to connect to.
My Account on the host HAS got a password set.
I already TRIED to put in only the IP (dont work) or either the IP, USER (dont work) OR IP, USER and PASSWORD. (dont work).
It's not a OS-Problem as far as I see, because from my WINXP Laptop I CAN connect to a WIN 7 PRO box AND a Windows Server 2008, so the Computers are configured correctly I suppose. On Windows 7, I also checked "Allow connections from any hosts running any version of Remote Desktop Mobile" (lowest security).
What the hell is wrong.. I flashed another ROM on my hd2 because I thougt maybe its ROM-related.. but that didnt help =/
to bad :-((
Thats to bad... i have a win2003 (rc2) at home, enabled Terminal server and open for rdp in my firewall/router and flashed miri v09 yesterday, opened rdp on my hd2 from work just now and connected trough gprs without doing any changes to my hd2... but like i sayed i have just been able to connect to servers..
mideel, check your messages
Thanks for your effort so far, no solution is avaiable for me yet.
I tried the hints of waxfresh which he sent me over PM (Portforwarding, set a Password, disable Firewall / Antivirus (I dont use any)..)
damn..like I said before.. a VNC connection worked without problems and configuration of ports or anything at LAN, so why doesnt it just work with Remote Desktop..
mideel said:
Thanks for your effort so far, no solution is avaiable for me yet.
I tried the hints of waxfresh which he sent me over PM (Portforwarding, set a Password, disable Firewall / Antivirus (I dont use any)..)
damn..like I said before.. a VNC connection worked without problems and configuration of ports or anything at LAN, so why doesnt it just work with Remote Desktop..
Click to expand...
Click to collapse
same problem exists for me
benveq said:
same problem exists for me
Click to expand...
Click to collapse
nice to read that I'm not the only one with this problem
Maybe together we can find out whats wrong with us or our versions of remote desktop mobile.
I'm currently on 2.10 german custom ROM if that matters, but the problem exists for a long time now, used 2.02 before.
task 29
Have u all done the MTTY( task 29) before you flashed a new rom?
Nope i didnt.. but could THIS be the problem? I flashed only 4 times since I got my HD2. Dont know how often I should do this task29
mideel said:
Nope i didnt.. but could THIS be the problem? I flashed only 4 times since I got my HD2. Dont know how often I should do this task29
Click to expand...
Click to collapse
for everytime you flash..(http://forum.xda-developers.com/showthread.php?t=644781)
could be worth a shot....btw what rom version and radio u use?
I am using 21895 based 2.10 Rom with Manila 2.5.19211 and Radio: 2.08.50.08.2
dont want to reset my device again

ssh pc to android

is that possible?i tried sshing to my phone and i got a connection refused error.(the phone's rooted).does anybody know a way to sshing to android?thanks
You should be able to initiate a reverse ssh on the phone to the computer, and then get a terminal from the phone, not sure about an app for reverse ssh though.
On Wifi networks you just need to run an SSH daemon on your phone. There are threads here on XDA discussing how to install dropbear manually, or you can get my (paid) app QuickSSHd from the Market.
If you want to do it via cellular, then it depends on your carrier. Many carriers block incoming connections. If they do, then it would be possible to use SSH tunneling (Use an ssh client on your phone to ssh to your PC and do a port map of the PC's port 2222 to your phone's port 22, finally on your PC ssh to localhost:2222 and get to your phone's ssh daemon)
QuickSSHd on Android Market
QuickSSHd is a secure shell daemon and when setup correctly, it will allow you to ssh from your PC to your Android phone (or other Android device).
Sorry for the late and redundant reply, but I recently got an Android phone and stumbled across QuickSSHd. Of course, I already rooted my phone.

Can you SSH on Android Wireless Connection?

Can anyone tell me if you're able to SSH to other devices connected to the wireless connection created by your android phone? I'm in dire need of a password-less connection right now but not sure if it will work. Campus wireless has a stupid terminal where you need to put in your password in the web browser before using it which doesn't work for what I'm trying to do.
Yes. I can ssh (via BTEP or ConnectBot) to other machines in my LAN via WLAN.

[Q] ConnectBot Port Tunneling

I have given up on working out VPN to my home network so I am giving SSH with ConnectBot a go. I can SSH to my home PC through my modem firewall ok now using key passwordless login (safest I understand) but I can't work out port forwarding.
Is it even possible to tunnel certain ports through my home Ubuntu PC using SSH? I want to access local web servers without opening them out on the Internet, for example sanzbd using the nzbair app or my other home media devices, web cams, etc.
I don't feel comfortable opening anything out on the Internet, even SSH makes me nervous although I understand it is fairly secure using key based log combined with a modem firewall and IDS, so I'd like to access my home network but securely.
I understand SSH is the next best option to VPN. But I can't find any guides.
I also have dyndns set up on my modem so (once that propagates I assume) I should be able to reliably SSH to my home PC.
I am very tired, so I'm sorry if this post is absolutely wrong.
I'm 90% certain you'd want to setup squid on your ubuntu box, so you can proxy through. Then connect with connectbot and then set up a portforward to send all port 80 traffic through on whatever port you got squid running on.
I think that should be at least a decent starting place.
Yeah I agree. I have the port tunelling working for sabnzbd now even if it's a bit flakey (drops out sometimes or the port forward can't be created).
So I'll read up on Squid and enable that on my home PC. That may cover a lot of general traffic from my phone too. I imagine a lot of apps use HTTP.

looking for a way to remote control android on pc via usb (wifi not an option)

I would like to basicly vnc into my phone i know theres a vnc server app on teh market but wifi is not an option for me is there anyway to do this over usb?
android commander maybe?

Categories

Resources