ssh'ing
Ok I am soo having ssh problems. maybe its because I have no real Idea what I am doing. :D
I got a ssh server set up on my linux (void) and a ssh app on my android phone. (galaxy core prime). I have a public wifi connection beteen the both. (google startbucks). I have an ip address xxx.xxx.xxx.xxx In Vbox I can get ssh to work, but that is different, it is not completely outside of my laptop. I've tried ssh autotunnel, ssh server (app) going the other way, pc -> phone. still not getting it. I'm sure their is a few of your techies that have done this sooo, how do I get the phone to connect to my linux using ssh? ftp even to get files off of pc into phone sdcard. thanks BTW I tried pinging my laptop through my phone an it does not see it. of course... (while using a terminal app on my phone) |
Your home computer is probably behind NAT router, meaning you need to set up port forwarding in your router.
|
i would first troubleshoot this within the same system:
Code:
ssh localhost Code:
ssh 192.168.1.x Code:
sudo /usr/sbin/sshd -d -d -d # on the server did you forward port 22 within your routers configuration ? maybe posting your /etc/ssh/sshd_config mite also help. |
You might need to provide some additional information on how your home network is configured. Are you trying to connect to a physical or virtual machine? Since you are trying to use Autotunnel it appears you want to connect to VM via its host. If you are trying to connect to a VM is it using NAT or bridge configured network adapter?
|
You might need to provide some additional information on how your home network is configured. Are you trying to connect to a physical or virtual machine? Since you are trying to use Autotunnel it appears you want to connect to VM via its host. If you are trying to connect to a VM is it using NAT or bridge configured network adapter?
|
Quote:
I changed the settings to IPv4 settings in NetWorkManager Code:
Method: Automatic (DHCP) address only |
Sorry, it appeared that you wanted to connect from your phone to your home desktop.
So are you trying to connect to the host or guest on your laptop? Are they both running linux? |
Quote:
sshd conf Code:
sudo cat /etc/ssh/sshd_config the rest of it Code:
#Port 22 I'm eating PPJ right now don't want to type while sticky finger mode is ON |
Quote:
i'd try this first from the safety of your home (network), and only after that in the wild. basically, it is possible. what are you using to shh from your phone? |
Quote:
was just in hope mode that someone might know how to get though that f**kin' thing :D it is a no security wifi SSL tunneling |
Don't bother with ssh. Install Airdroid on the phone. Run it, and it will give you an ip address to put into your laptop browser. When you do that, you'll get a popup on the phone asking permission to connect to the laptop. Tap ok and you have complete access to everything on the phone from the browser. You can transfer files either way, access your contacts, send and receive SMS messages from the laptop using a real keyboard, and pretty much anything else on the phone. No need to do anything with the router, it just works.
|
AirDroid --- > cheking it out ---->
I have an iPhone that I could not get iTunes to see it, but I'd still charge. So no more connecting to iTunes to shove what ever I wanted into that iPhone. But, I have this app that uses wifi and plays moves or music. So I started using that. Then one day it updated. Taking that abiltiy out of it, now it doesn't do that N E More. Now you're telling my about this app called AirDroid. So from you. Yes YOU. Here we have another example of -yes- it can be done. If they can write an app that will allow a user to get through public wifi as such that you explained as well. Then what is there "secret" in how they got past that router, when I cannot, even when I use ssh or any other method? If they can do it , then why can't I? (or even you) :mad: ----------- OH OH OH I just installed it.. wouldn't you know. I got to get an account with them? WTF..... TCP/IP classes or lack thereof that's why :D |
AirDroid opens the connection from inside. You cannot get thru NAT router initiating connection from outside. This is the way viruses work, first they need to get into computer somehow, then they open a connection to the master.
Of course you need to open an account with them to use their DNS to find your phone. How do you think your phone would be found without?! |
Quote:
they could remove that step and it'd still work. as I am already looking at the ip address and port number to use. already. created an account, typed in that ip : port info -> File Transferr -> AirDriod Web -> ..... timed out in my laptop webpage. NOTHING ... ooooooOOoOOOoooOOooohhh takes back -> they could remove that step and it'd still work. mod: Code:
Search Results |
And how they have the IP of your phone? When you move around the IP of your phone may change, how the computer in the coffee house is supposed to know what the new IP address is?
|
All times are GMT -5. The time now is 11:09 PM. |