DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13

Thread: SSH help

  1. Junior Droid
    MrNemo's Avatar
    Member #
    176404
    Join Date
    Mar 2011
    Posts
    13
    Phone
    Droid 2
    #1

    SSH help

    I was hoping someone could walk me through connecting to my home computer using connectbot. I've been trying for a while and I haven't had any luck. I've set up openssh on my computer and created private and public keys. I've been following tutorials but have had no luck.
  2. Droid
    mat4ov's Avatar
    Member #
    131271
    Join Date
    Oct 2010
    Posts
    49
    Phone
    Thunderbolt
    #2
    Quote Originally Posted by MrNemo View Post
    I was hoping someone could walk me through connecting to my home computer using connectbot. I've been trying for a while and I haven't had any luck. I've set up openssh on my computer and created private and public keys. I've been following tutorials but have had no luck.
    I have never been successful using private and public keys through connectbot, however I was able to connect using password authentication. Have you tried that?
  3. Junior Droid
    MrNemo's Avatar
    Member #
    176404
    Join Date
    Mar 2011
    Posts
    13
    Phone
    Droid 2
    #3
    Haven't tried it yet and wouldn't know how to. I'm new to ssh so i would have to be walked through everything or at least led to a good article.
  4. Junior Droid
    MrNemo's Avatar
    Member #
    176404
    Join Date
    Mar 2011
    Posts
    13
    Phone
    Droid 2
    #4
    Disregard. I was using the wrong ip address. So now i have it working fine and I've got to say it's pretty cool. Is there anyway to actually open up programs on my host machine from my droid? Or can I just use the shell?
  5. Droid
    mat4ov's Avatar
    Member #
    131271
    Join Date
    Oct 2010
    Posts
    49
    Phone
    Thunderbolt
    #5
    What I do is use connectbot to start the ssh connection and set up the port forwarding to create a SOCKS connection. From there I tell the host machine to start a VNC server over the SOCKS port. On the phone I use the androidvnc viewer (free download in the market) to access the VNC server and thus I can see do anything on my host machine directly from my droid and it's all still encrypted through the SSH tunnel. The hardware keyboard is very helpful for this, however if you're going to be doing it a lot I recommend a bluetooth keyboard for the phone, that way the keys are larger and it's easier to give commands to the host machine (just make sure you get one that works with the bluetooth profile on your phone).

    If you're going to use the VNC connection wifi does work best as there's a lot of data being sent through and 3g can take a minute to load the graphics.
  6. Junior Droid
    MrNemo's Avatar
    Member #
    176404
    Join Date
    Mar 2011
    Posts
    13
    Phone
    Droid 2
    #6
    So i'm able to ssh into my ubuntu machine without a problem, but I can't seem to figure out how to a. transfer files with scp, b. connect to my droid through ssh from my ubuntu machine, and c. set up a vpn network. Usually as soon as I post something I figure it out, but just in case any help would be appreciated.
  7. Senior Droid
    holmes6's Avatar
    Member #
    132751
    Join Date
    Nov 2010
    Location
    New England Patriots
    Posts
    140
    Phone
    Galaxy Nexus - Kang
    #7
    Quote Originally Posted by MrNemo View Post
    So i'm able to ssh into my ubuntu machine without a problem, but I can't seem to figure out how to a. transfer files with scp, b. connect to my droid through ssh from my ubuntu machine, and c. set up a vpn network. Usually as soon as I post something I figure it out, but just in case any help would be appreciated.
    a and b require an ssh server running on your droid. connectbot is just a client.

    c. separate issue from connectbot, what protocol vpn are you trying to setup?

    For a workaround for a you can use andftp app
  8. Junior Droid
    MrNemo's Avatar
    Member #
    176404
    Join Date
    Mar 2011
    Posts
    13
    Phone
    Droid 2
    #8
    thanks for your answer holmes6. I install dropbear and dropbearkeygen without a problem. The server seems to be running, the only problem is i don't know my uid to ssh into my droid. Anyway i can find that out?
  9. Senior Droid
    holmes6's Avatar
    Member #
    132751
    Join Date
    Nov 2010
    Location
    New England Patriots
    Posts
    140
    Phone
    Galaxy Nexus - Kang
    #9
    If you know the local IP address you can try to ssh to it at port 22
    I'm guessing that fails..
    if this were full linux I'd say run
    netstat -nlp
    and check for your ssh app and make sure it's bound on port 22, I don't know if that will return anything here though.. maybe busybox netstat -nlp
    sorry for likely dead end commands
  10. Junior Droid
    MrNemo's Avatar
    Member #
    176404
    Join Date
    Mar 2011
    Posts
    13
    Phone
    Droid 2
    #10
    My local address is just a string of zeros (0.0.0.0ort) when i run netstat. The port is not 22.
Page 1 of 2 1 2 LastLast

Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Search tags for this page

android connectbot scp

,

connectbot file transfer

,

connectbot transfer files

,
file transfer with connect bot howto
,
how to ssh into xoom
,
scp with connectbot
,

ssh into thunderbolt

,

ssh into xoom

,

sshdroid vs connectbot

,
transfer files with connectbot
Click on a term to search our site for related topics.
Find us on Google+