SFTP client with multi-hop support for JB? - General Questions and Answers

I have a Samsung Galaxy Note 10.1 running jelly bean 4.1. I have been using JuiceSSH a lot to access a machine which does not directly connect to the internet, using the "connect via option". I connect to an intermediate machine first, and then from there it open a ssh session on the second host. On my home computer, I do this with ssh proxy command. I've been searching here and on the play store for a way to access an sftp server running on the remote machine capable of passing through this "proxy" server, but I haven't found anything.
I could just install open-ssh on my tablet, I suppose and do it directly from the command line, but I don't want to root the device.
Any help would be greatly appreciated
Steve :laugh:

sjchicago1987 said:
I have a Samsung Galaxy Note 10.1 running jelly bean 4.1. I have been using JuiceSSH a lot to access a machine which does not directly connect to the internet, using the "connect via option". I connect to an intermediate machine first, and then from there it open a ssh session on the second host. On my home computer, I do this with ssh proxy command. I've been searching here and on the play store for a way to access an sftp server running on the remote machine capable of passing through this "proxy" server, but I haven't found anything.
I could just install open-ssh on my tablet, I suppose and do it directly from the command line, but I don't want to root the device.
Any help would be greatly appreciated
Steve :laugh:
Click to expand...
Click to collapse
Hey Steve,
Dev of JuiceSSH here... sorry as you know we don't support SFTP (yet!) - however in the meantime you could setup a port forward in JuiceSSH to forward traffic from a local port on your android device to the final destination. It would look something like this:
Mode: Local
Connection: <your intermediate server connection>
Port (from): 5000 (could be any > 1024)
Destination: <your sftp server hostname>
Port (to): 22
Then use any SFTP client currently available on Android and connect to the local port (which would route through the JuiceSSH port forward to the intermediate server then onto the destination).
Thanks
Paul

protocol mismatch
SSH-2.0-OpenSSH_6.1p1 Debian-4 Protocol mismatch.SH-2.0-OpenSSH_6.1p1 Debian-4 Protocol mismatch.
JuiceSSH said:
Hey Steve,
Dev of JuiceSSH here... sorry as you know we don't support SFTP (yet!) - however in the meantime you could setup a port forward in JuiceSSH to forward traffic from a local port on your android device to the final destination. It would look something like this:
Mode: Local
Connection: <your intermediate server connection>
Port (from): 5000 (could be any > 1024)
Destination: <your sftp server hostname>
Port (to): 22
Then use any SFTP client currently available on Android and connect to the local port (which would route through the JuiceSSH port forward to the intermediate server then onto the destination).
Thanks
Paul
Click to expand...
Click to collapse
Paul, thanks for the help. I've tried configuring a Port Forward as you suggest, but there seems to be a problem communicating with the open-ssh server on my machine. I can connect to the machine normally through "connect-via" however. I asked for the forward to open a browser session. When it does, this message is displayed (in the browser)
SSH-2.0-OpenSSH_6.1p1 Debian-4 protocol mismatch.
Any ideas?

You'll need to use an SFTP app, rather than the browser as the android browser doesn't support SFTP.
Download an SFTP client off the Play Store and point it at 127.0.0.1 once the port forward is active.

Related

looking for STFP clients free preferred :)

hey just trying to get some help finding an sftp client for WM6. I have total commander, but that dosen't support SFTP only FTP. Any free clients out there?
Try putty it's an open source and quite reliable cient for secure shell protocol. It support SSH1, SSH2 and telnet, I have been testing it for a while under linux and it seems to be quite reliable. Here is the link http://www.pocketputty.net/.
have putty. But that logs me into the machine locally. If i run an sftp command that is like trying to get a file from itself. I need to have sftp on client to connect to server and get files. Putty sends nothing but screen output. unless im missing something???
How about zaSFTP?

Remote Desktop Mobile /console?

With the Windows version of Remote Desktop you can use the CLI switch '/console' to take control of the current console session of the server you are Remote Desktop'ing into as long as its 2003 Server or later. Is this possible with the Remote Desktop Mobile client?
With the Windows version you just start it with 'Start, Run, mstsc.exe /console' and this attempts to connect to the current console session.
Cheers
Andy
ADB100 said:
With the Windows version of Remote Desktop you can use the CLI switch '/console' to take control of the current console session of the server you are Remote Desktop'ing into as long as its 2003 Server or later. Is this possible with the Remote Desktop Mobile client?
With the Windows version you just start it with 'Start, Run, mstsc.exe /console' and this attempts to connect to the current console session.
Cheers
Andy
Click to expand...
Click to collapse
to my knowledge, not possible - at least I haven't managed to do it . Also see http://forum.xda-developers.com/showthread.php?t=288506
note that if you don't strictly need RDP, some other, proprietary clients do offer console-like features - also see the above article for more info
This is an old topic, but one of the first Google search results for 'Remote Desktop Mobile connect to console'. I've been fiddling with this for the past few days and wanted to share my experience. I say experience because I haven't reallydone anything to achieve a /console connection with RDP mobile.
I'm running WinMo 6.5 Pro and using the standard RDP client it ships with. I am connecting to my home PC, which is running Win7x64 Ultimate. If I choose to log in as a currently logged in user and provide the proper credentials, I am connected to the existing session without any hassle.
I don't know if this is a new feature of terminal services/remote desktop on Win7, or a designed advantage of the mobile RDP client.
If you need to connect to a server console session specifically, take a look at this link on how to configure your server in advance to facilitate this:
EDIT: I'd post a link, but apparently my account is too new to do so. Oh well.

Direct Wi Fi Connection between Android and PC?

Hi guys! After searching for months on google I decided to ask it to pro developer of this awesome forum. Is it possible to have a Direct Wi Fi Connection between my Android device (Lg L5 e610) and my PC (Win7, Ubuntu 13.04, Mac OSx Snow Leopard)? Is there any tool or program to do it? Or at least a developement project (I like to be a tester)? I found some solutions for my question but they need to a router to work :crying: and i haven't it
Sorry for my very bad english and applauses to this awesome community!
ZiO312 said:
Hi guys! After searching for months on google I decided to ask it to pro developer of this awesome forum. Is it possible to have a Direct Wi Fi Connection between my Android device (Lg L5 e610) and my PC (Win7, Ubuntu 13.04, Mac OSx Snow Leopard)? Is there any tool or program to do it? Or at least a developement project (I like to be a tester)? I found some solutions for my question but they need to a router to work :crying: and i haven't it
Sorry for my very bad english and applauses to this awesome community!
Click to expand...
Click to collapse
Not exactly what you are looking for but could work
http://virtualrouter.codeplex.com/
I search for something that could use the direct wi fi technology between PC and android without router or internet
+1
Yes there be plenty of ways. If you want commanding access thru the command line and you're running root, then try wireless Android debugging bridge (usually found under developer settings I think) or download an ssh server app from the market place (some don't require root and you can find a good list of apps to test herehttp://android.stackexchange.com/questions/9905/is-there-some-ssh-server-for-android from Android stack exchange) further more if you are running root and you want the screen and all the GUI there are apps that let you do this too such as Droid vnc serverhttp://www.google.com/url?q=https:/...dycANA&usg=AFQjCNGQZqmOFJI8BJfOYyjJ9Gi1sjm_Rg
One weird word of warning about some of these; if you're on a nice network service provider, then some of the above apps work over 3G or 4G too. sooooo set a good password and don't forget to turn it off when you're done with it
So that's something for android what about the other end of the connection? The client side of things
On my laptop I've access to Vista and Ubuntu 12.04
For Vista I use Putty to connect via ssh and it works fine over wifi. I have yet to figure the GUI side for Windows but I've been working on it.
For Ubuntu I use remia to view the GUI of linux running on Android, works fine but have yet to test droid VNC server for the android GUI. And sshing in through command line wasn't a problem over wifi.
For more info on the android linux to pc connection see section 7 in the bellow links to the guide I maintain for such things.
Edit- I see that the formatting using mobile XDA app still leaves me wanting better functions, I'll see about fixing it when on a PC. In the meantime try this app
[APP][2.1+] SSH Server - SFTP, SCP, multiple users, per user public key auth, no root
http://forum.xda-developers.com/showthread.php?t=1896428
Looks like it'll have some good options on connections and such
Sent from either my SPH-D700 or myTouch3Gs
Debian Kit/QEMU Linux Install guide for all android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Now have working Installers for ARM Java 7 JDK + Maptools + jMonkey
+1 Nice But How To make Direct Wi Fi Connection between android and other android
alaa1988 said:
+1 Nice But How To make Direct Wi Fi Connection between android and other android
Click to expand...
Click to collapse
Well I've been able to run server and client services on either side of the following setup;
1 turn wifi tethering on one device (I'll call this device Wabafet)
2 connect to Wabafet with another device (I'll call this device Q)
3 run what's my IP searches for Q and for Wabafet
4 start server service on Q and client services on Wabafet
5 connect to server on Q with Wabafet and enjoy
Note; this set up keeps Q from being seen over the rest of the net, and some kind of port forwarding is needed to make it viable outside of the local wifi network
Note 2; if you connect a third device to Wabafet as a client you can still access the server on Q
Note 3; if you run a server on Wabafet and on Q then both can also run client services too and connect to one another
Note 4; if you've got a wireless router then you can skip the part about wifi tethering and instead connect Wabafet and Q to the router instead, however, this may require port forwarding to be set up on your specific router.
As far as wifi to wifi without a router or hot spot... I think setting a static IP in your wifi settings on Wabafet and on Q and then turning on but not connecting to a router should allow the devices to scan and connect to one another... But this will require some kind of client server set up again and will require that the apps being used don't require an active network to start. Droid vnc is a good example of this and has been reported to work over bluetooth too and even when the device is in airplane mode when the app starts.
You can find more info on this here: [Q] is theirs any app or way to share a screen? http://forum.xda-developers.com/showthread.php?t=2422782
Update 08312013 11am- found this short and sweet guide for connecting to your device from a linux pc
http://shujinkou.blogspot.com/2009/04/how-to-vnc-from-android-phone-to-linux.html
likely you can use the same apps and set up on the device side of the guide and then modify the pc side of the guide to suit your needs, such as mac, vista and such. For windows I would suggest putty; its very friendly and there are many good guides for how to use putty as a client on the web, but let me know if you need help with that too oh and hit the thanks or something if this is at all helpful or let me know how better to help.
Sent from either my SPH-D700 or myTouch3Gs
Debian Kit/QEMU Linux Install guide for all android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Now have working Installers for ARM Java 7 JDK + Maptools + jMonkey
WiFI Direct is supported out of the box for Win8 as well as JellyBean. However, they way they are supported, even thought you can "pair/connect" over WiFi Direct, you need an application to take advance of this "pipe". As far as I'm aware there are currently no apps that can directly connect a Win8 device and an Android device over WiFi Direct to share a file.
Coincidentally, I'm working on an app that at least can do so with Android. Based on the OP's post, he seems to be describing AirDrop. I think what I'm doing is "better", but users will tell =) I am putting it out on limited Private Beta soon, so if you're curious to what all the buzz/fuss is about, go to www.get-drop.com.
S0AndS0 said:
Well I've been able to run server and client services on either side of the following setup;
1 turn wifi tethering on one device (I'll call this device Wabafet)
2 connect to Wabafet with another device (I'll call this device Q)
3 run what's my IP searches for Q and for Wabafet
4 start server service on Q and client services on Wabafet
5 connect to server on Q with Wabafet and enjoy
Note; this set up keeps Q from being seen over the rest of the net, and some kind of port forwarding is needed to make it viable outside of the local wifi network
Note 2; if you connect a third device to Wabafet as a client you can still access the server on Q
Note 3; if you run a server on Wabafet and on Q then both can also run client services too and connect to one another
Note 4; if you've got a wireless router then you can skip the part about wifi tethering and instead connect Wabafet and Q to the router instead, however, this may require port forwarding to be set up on your specific router.
As far as wifi to wifi without a router or hot spot... I think setting a static IP in your wifi settings on Wabafet and on Q and then turning on but not connecting to a router should allow the devices to scan and connect to one another... But this will require some kind of client server set up again and will require that the apps being used don't require an active network to start. Droid vnc is a good example of this and has been reported to work over bluetooth too and even when the device is in airplane mode when the app starts.
You can find more info on this here: [Q] is theirs any app or way to share a screen? http://forum.xda-developers.com/showthread.php?t=2422782
Update 08312013 11am- found this short and sweet guide for connecting to your device from a linux pc
http://shujinkou.blogspot.com/2009/04/how-to-vnc-from-android-phone-to-linux.html
likely you can use the same apps and set up on the device side of the guide and then modify the pc side of the guide to suit your needs, such as mac, vista and such. For windows I would suggest putty; its very friendly and there are many good guides for how to use putty as a client on the web, but let me know if you need help with that too oh and hit the thanks or something if this is at all helpful or let me know how better to help.
Sent from either my SPH-D700 or myTouch3Gs
Debian Kit/QEMU Linux Install guide for all android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Now have working Installers for ARM Java 7 JDK + Maptools + jMonkey
Click to expand...
Click to collapse
try to put a wifi dongle in your pc and use an program like... ah i forgot the name! but it is use to let the dongle release a signal like router
U can also use airdroid.
Sent from my Galaxy Nexus using Tapatalk 4.

Android VNC Server no Root and Free

Hi there,
I've been trying to connect to my Phone via VNC protocol from the computer, either with an USB cable hooked or some kind of internet layer (LAN).
I have seen on Windows there is the Android Studio One which has a VNC Server client on it , but for Linux I cant find something that it does the same job.
I've tried some tools but most of them they don't work as expected:
My phone is a Xiaomi Redmi 7
The only app it worked as expected is Alpha VNC Lite https://play.google.com/store/apps/details?id=de.abr.android.avnc&hl=en_US&gl=US
You just install it , press start , and it gives you an IP address which you can use on your VNC Client to connect.
I dont want to install thatone cause it has a policy of one device per license , so I would have to spend nearly 50 Pounds to purchase a multi-device license and for the usage I'm going to do that is not going to cover the costs at all.
I've tried the following ones unsucesfully:
droid VNC Server v1.1
vmlite vnc server
And some other more that I happen to uninstall straightaway.
Thanks very much
freddieventura said:
Hi there,
I've been trying to connect to my Phone via VNC protocol from the computer, either with an USB cable hooked or some kind of internet layer (LAN).
I have seen on Windows there is the Android Studio One which has a VNC Server client on it , but for Linux I cant find something that it does the same job.
I've tried some tools but most of them they don't work as expected:
My phone is a Xiaomi Redmi 7
The only app it worked as expected is Alpha VNC Lite https://play.google.com/store/apps/details?id=de.abr.android.avnc&hl=en_US&gl=US
You just install it , press start , and it gives you an IP address which you can use on your VNC Client to connect.
I dont want to install thatone cause it has a policy of one device per license , so I would have to spend nearly 50 Pounds to purchase a multi-device license and for the usage I'm going to do that is not going to cover the costs at all.
I've tried the following ones unsucesfully:
droid VNC Server v1.1
vmlite vnc server
And some other more that I happen to uninstall straightaway.
Thanks very much
Click to expand...
Click to collapse
Servers Ultimate or VNCviewer Server for Android i hope it exist
Great App "Servers Ultimate" Unfortunatelly my device is not supported for the VNC server . VNC Viewer Server doesn't exists unfortunatelly.
Thanks for your info
just found this one
XQ-VNCServer - Apps on Google Play
Amazing VNC Sever for android compatible with Turbo/Tiger/Tight/Real VNC and etc
play.google.com
works great...
Hello everyone, there is also droidVNC-NG, which is free and wonderful. VNC server on my Android Pixel 3 works great.

How to Setup Private IKEv2 / IPSec MSCHAPv2 VPN on Windows Server to Connect From Android 12+ Phone - Full Tutorial Guide YouTube Video

If you are frustrated since #L2TP/PPTP is gone after MIUI 13 Update, or after your phone's / tablet's / device's Android Version update, then this full guide tutorial is for you. If your phone, tablet, or mobile device's Android version is above 11 and you can't find the #PPTP VPN protocol to connect your private #VPN, then don't worry. Because I am explaining the easiest way to set up our VPN to connect from your device in this tutorial guide.
Point-to-Point Tunneling Protocol (PPTP) was so easy to set up on Windows Server and you were able to connect your private VPN easily through your phone. But this is not possible anymore since PPTP is removed from the majority of phones and mobile devices.
So instead of setting up our private VPN through features of Windows Server, we are going to use open source #SoftEther VPN Project.
In this video I will show you thoroughly from scratch:
1: Generate a new virtual server on Hyper-V and install Windows Server 2019 evaluation version.
2: Install SoftEther VPN Project on Windows Server 2019.
3: Make the necessary configuration of SoftEther.
4: Generate and export the #OpenVPN configuration file.
5: Modify the OpenVPN configuration file which ends with the .ovpn extension.
6: Install the OpenVPN app through Google Play Market and import the .ovpn configuration.
7: Connect to your VPN from your phone. I demonstrate this with my Xiaomi Poco X3 Pro - Android 12
8: With this methodology, we don't have to deal with complex and very hard-to-set-up IKEv2 / #IPSec #MSCHAPv2, #IKEv2 / IPSec #PSK, and IKEv2 / IPSec #RSA VPN protocols. These are the only available protocols on my mobile device.
0:00 Introduction
1:17 New Virtual Machine
3:28 Setting up Windows Server 2019
7:20 SoftEther Download & Installation
11:56 How to Setup OpenVPN on the Phone and Use VPN
click bait! there is no IKEv2 configuration, only OPENVPN. shame on you!
sandreanops said:
click bait! there is no IKEv2 configuration, only OPENVPN. shame on you!
Click to expand...
Click to collapse
let me explain again. how else I could describe this video title ? why did I made this video?
Because I wanted to setup my vpn. However all existing tutorials not anymore working because phones are now only supporting IKEv2 . So I did search for IKEv2 word
And what a surprise there isn't any good tutorial and easy way to setup IKEv2
Instead I did a lot of research and found a way to connect IKEv2 supporting phones
an easy one
How is this now click bait?
You are fooling people. Those who enter this post or see the title of your video on YouTube are waiting for a guide to configure an IKEv2 MSCHAPv2 server and be able to connect from Android 12+ with the integrated VPN client. Instead, what you show has nothing to do with IKEv2, it is an OpenVPN server for which it is necessary to use a third-party app on Android.
Also SoftEther does not support IKEv2, only IKEv1 (ISAKMP)/L2TP.

Categories

Resources