Dropbear SSH Server - Nexus One General

ican someone explain what Dropbear SSH Server is... i seen this on the mod desire rom and i was wondering what it was...

It gives you a way to log into the phone using ssh, which is a "secure shell". At it's most basic, it's a way to log in to the phone from a computer and run commands or transfer files, but can also do a lot of cooler tricks like forwarding your internet traffic or syncing data.

If you don't know what a SSH is you definitely don't need to be messing with it.

Related

Looking for help with telnet mainframe emulator

I am looking for someone who is very experienced with telnet clients.
I use a mainframe emulator for work to see schedules and estimates of when I will be called to work. I'm on call 24/7 and it is so much better to be able to view the mainframe emulator rather than call the number and go through several prompts and have the computer speak out the info for each area.
I'm quite certain that it is possible to pull up this emulator on a ppc, but I don't know enough about telnet and mainframe emulation to configure it properly. The desktop version uses a java applet to pull up the window, and requires java, and java scripting. I've tried configuring several telnet clients to get it working with no success.
would someone be willing to help me get this going on my Mogul?
Telnet is incredibly simple.
You connect to a server address on a certain port -- it opens up a TCP data stream. You then have a two way communication channel to a remote server. You can type data, server will get the data, and can do what it wishes. It can also send output to you.
So essentially, if it is indeed running a basic telnet service if you know the server and port, there's nothing more to know. (Well, not entirely true, if the server has any sort of authentication it's likely going to want a user/pass.)
Try downloading PuTTy on your desktop at home and connecting using protocol telnet to see if you can get in from there.
In all likelihood the java program does some smoke and mirrors, and it's not just raw telnet. Otherwise, why would they require the application? They'd give everyone a telnet client. The IT dept for your company, will know more about how to telnet directly in, though they probably won't share such "secrets" with you.

Setting up a proxy/tunnel... using SSHD with G1

Can anyone help me out with this?
Basically what i want to be able to do, is have a computer (like my desktop for instance) and have it connected to my local internet at home. VNC FROM my phone to my computer so i can access my computer remotely (not difficult). Then i want to create an SSH tunnel FROM my computer TO my phone, so the traffic from my computer to my phone will be encrypted, and then forward that traffic through the router (or 3G) out to the internet.
This is mainly for when i have file downloads or something else that the G1 won't handle (large files, torrents, etc.)
Here's a breakdown of what i'm trying to do:
VNC from G1 into PC
SSH from PC into G1
Using VNC Start Downloading file
Send encrypted information to G1 from PC
Use G1 to download the data and send it back (encrypted) to the PC
Any help would be greatly appreciated.
I'm a little confused. It seems like what you want to do is download data to the G1 but you've got the data going over the air interface three times. Why? Instead you could just SSH into the desktop computer, have the desktop computer download the data via its own internet connection and then send that data to the G1. Connectbot is the way to go. On your home network, if you have a linux-based home gateway then I suggest installing Tomato mod with openvpn or openwrt firmware. Both will allow you to SSH into the router or even set up an openvpn connection. If you go the openvpn way, Fnorder has compiled openvpn for Android here.
By the way if you don't need to have the download appear to come from your home network, you could just use wget from the command line.
http://forum.xda-developers.com/showthread.php?p=3170014#post3170014
--M

Mount Windows share over SSH? (cifs?)

Has anyone done this? At home on wifi, I can mount my windows shares directly to the nook, browsing my comics collection / files on the device.
It'd be great to be able to do this from outside my network, securely..but I'm having trouble setting up a ssh server and connectbot.
Anyone done exactly this?
Or done connectbot with remote desktop? I could just change the port to 445 for similar instructions yes?
It is possible to set up an SSH server on Windows but it's not generally a good idea. If you have an always on Linux box then you could use that to tunnel into your network (this works very well). It looks like Connectbot does support port forwarding so in theory this should be possible but I've not personally tried it.
All that said, I have tried smb/cifs over ssh in the past and it did not work very well.
I think the "proper" solution to what you are trying to do would be VPN.

use NST as vnc viewer?

I just came across http://lifehacker.com/5928912/turn-your-kindle-into-a-second-monitor where they turn the kindle into a vnc viewer (see https://www.youtube.com/watch?v=JdSRcZQoEJo&feature=plcp for a video demo).
Question: Can we do this on our NST?
I did search for "vnc" but being a noob I'm not exactly sure how to go about it. To be specific, I would like to use the NST to display output from either *another* android device, or from a laptop. If possible I would like to use usb connection instead of wifi (to save battery life).
Thanks for your help and suggestions!
Read that article yesterday, also.
The big advantage of rooting a nook is that it will run as a normal android tablet, so assuming you already took care of rooting, head on to the google play, search for androidVNC and then, simply follow the instructions provided on lifehacker's article.
Yes you can. The first step is to root it. I think I have a post in this or the dev forum talking about it too
If you use windows, you might use it as second/third screen, also.
In *nix, I know it is possible, but I haven't dug it very much since it's quite easy to mess up with xorg.conf and I can't afford it right now.
The solution I've found was to connect vnc to a new X session.
Thanks for all the suggestions.
(1) I did root my NST, within an hour I took it home The instruction in the lifehacker article includes installing on the kindle a piece of software that enables usb connection so I'm afraid it won't apply to NST.
(2) I did read the thread http://forum.xda-developers.com/showthread.php?t=1776085 It sounds like a great idea but I'm afraid I need more detailed instruction...
(3) I use ubuntu, and have installed vnc4server on the laptop. I started the server with
vncserver :12 -name "My-Server" -geometry 800x600
I have also installed "androidvnc viewer" on the NST but I couldn't figure out what to do next: I assume that the port is 5900, but what do I do with address and with color depth. For address: I tried to set static IP on my laptop, but then I lost wifi!
As you can see I'm a newbie, so thanks for you patient and please type slowly
Bonus question: I was told that I should run vnc through ssh. Any suggestion on how to do that?
THANKS!
Well... I'll assume both your computer and nook share the same network (wifi) (this won't work over USB)
On the ubuntu side type ifconfig on the terminal and get your computer's IP address.
On the nook, use that IP as address, leave the colours to 256 or grayscale.
As for VNC over SSH it's called SSH Tunneling but it is only usefull if you're thinking in using VNC outside your home and I believe that is quite outside the scope of this topic/forum and there is plenty information on it for windows and *nix.
case-sensitive said:
Thanks for all the suggestions.
(3) I use ubuntu, and have installed vnc4server on the laptop. I started the server with
vncserver :12 -name "My-Server" -geometry 800x600
I have also installed "androidvnc viewer" on the NST but I couldn't figure out what to do next: I assume that the port is 5900, but what do I do with address and with color depth. For address: I tried to set static IP on my laptop, but then I lost wifi!
Click to expand...
Click to collapse
Figure out what the ip on your laptop is. You could use static ip on your laptop but it is not essential. Static ip helps because you dont have to figure out the ip of the laptop everytime you use the NST. (use ifconfig on ubuntu) Assume the IP is 192.168.X.Y
You started the vncserver on 12. This corresponds to port 5912
On your NST, start your vncviewer put the address =192.168.X.Y in the address field, and 5912 in the port field.
I think vncserver has an option for color_depth, but I dont think it matters. You could try playing with it when
you start the server and inputing the same in the viewer.
Remember this will only work on your home network. If you are out of your home, you will need to forward router ports.
Also, this creates a new session on ubuntu (its not your default desktop which is :0 or 5900). You could simultaneously open a vncviewer on
your laptop with -shared for :12 and then share that session between your laptop and NST.
--
I hadn't tryed it yet, but after i had an connection refused on 5900 I just remembered that the ports are 5900+session (12, in your case) and came here to post that, but cbay already had explained that.
As for the colours it really doesn't matter.
And I also second the -shared option, although it is not working for me.

[Q] SSH/VNC over SSH tunnel

Hello, I need to connect to a linux machine behind secure network from my mobile phone. I do this from my other computers by connecting to an ssh server on that network (its port is open), and forwarding ports (for SSH and VNC) with Bitvise client, or the openssh client. I tried to do the same from my phone, and got various different results from different apps:
1. SSH Tunnel did not manage to create the tunnel at all - complete failure, just freezes.
2. SSH Autotunnel created the tunnel properly, but after that, I could not connect any SSH/VNC client using the forwarded ports on localhost (tried both "localhost" and "127.0.0.1" since my hosts file is a mess and I am sure that the ports are correct - I am getting "Connection Refused").
3. ConnectBot manages to connect to the SSH server, but disconnects upon entering the absolutely correct password.
Is it possible to install openssh on android? Also, the need for VNC arises from the fact that I normally just forward X over ssh to another linux box, but android doesn't use X server.
Could the issue be that android has some firewall that blocks my attempts? I haven't installed any of my own.
Thanks in advance for any help.
Sounds like it's blocked. If you could make it work on port 80 instead of 22, then you might be able to get somewhere.

Categories

Resources