DavidCox1979 / connectbot

Automatically exported from code.google.com/p/connectbot
Apache License 2.0
0 stars 0 forks source link

feature: include scp functionality? #100

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
file-transfer functionality to and from the phone would be extremely
useful, and embedding scp in connectbot - associated with the current
connection - would be extremely expedient.  it would also be a bit kludgey,
but considering the logistics of the situation, i suggest considering it.

Original issue reported on code.google.com by ken.manh...@gmail.com on 22 Dec 2008 at 7:42

GoogleCodeExporter commented 8 years ago
File transfer is planned via SFTP.

Original comment by kenny@the-b.org on 28 Dec 2008 at 11:15

GoogleCodeExporter commented 8 years ago

Original comment by kenny@the-b.org on 5 Feb 2009 at 8:30

GoogleCodeExporter commented 8 years ago
sftp is a sensible way to go here, I think.

Original comment by tau...@gmail.com on 11 May 2009 at 11:58

GoogleCodeExporter commented 8 years ago
Personally, I don't see the use in making connectbot the kitchen sync of the ssh
protocol. There is already a free sftp client, andftp. Adding filemanagment to
connectbot sounds very out of scope for an awesome ssh (terminal) client. 

Original comment by Christia...@gmail.com on 12 May 2009 at 3:33

GoogleCodeExporter commented 8 years ago
Well, connectbot already has support for public key authentication, which is 
missing
from AndFTP, judging from comments.

In a perfect world, connectbot could provide ssh transport as a sevice to any 
file
manager out there, to keep code-replication as low as possible.

Original comment by tau...@gmail.com on 12 May 2009 at 3:54

GoogleCodeExporter commented 8 years ago
Issue 147 has been merged into this issue.

Original comment by kenny@the-b.org on 30 May 2009 at 6:07

GoogleCodeExporter commented 8 years ago
FYI everyone, AndFTP does have key support, but only DSA keys. Personally, I 
use RSA
keys and it's kind of annoying that I would have to generate a different key for
AndFTP. Is SFTP support still a planned feature?

I use ConnectBot every day and this would make it a million times better. Also, 
how
about a "<host> via SFTP" option in Android's "Share" dialog? :) I've been 
thinking
about coding something like this myself a lot lately, so perhaps I will have a 
look
at how difficult it would be with ConnectBot.

Original comment by brianpcurran on 24 Oct 2009 at 5:57

GoogleCodeExporter commented 8 years ago
Sorry if I am misunderstanding something here, but it seems to me that sftp is 
not a
substitute for scp. I have several computers in my life that are shell servers, 
but
not ftp servers, and I can't change that as they are not my computers. There 
must be
others like me. There are currently other ways/apps to transfer files between 
your
android phone and ftp servers no? I am however unaware of any way to transfer 
using
scp, and if connectbot could accomplish this, Kenny and Jeffery would be my 
heroes!

Original comment by jcall...@gmail.com on 14 Nov 2009 at 4:36

GoogleCodeExporter commented 8 years ago
AndFTP does SFTP. SFTP is implemented as a subsystem of SSH and the 
"sftp-server"
program that implements this comes with OpenSSH. It doesn't actually use an FTP
daemon; it's just a name.

Original comment by kenny@the-b.org on 14 Nov 2009 at 4:39

GoogleCodeExporter commented 8 years ago
Thanks for the clarification and the tip about AndFTP. You guys are awesome.

Original comment by jcall...@gmail.com on 14 Nov 2009 at 4:47

GoogleCodeExporter commented 8 years ago
AndFTP unfortunately is quite slow at SFTP, as transfers tend to go at about 
15KiB/second on a local network.

Original comment by endovere...@gmail.com on 15 Nov 2009 at 8:26

GoogleCodeExporter commented 8 years ago
I second the AndFTP SFTP slowness. Using a Moto Droid I also get about 
15KiB/second
download on local network which really sucks. However, uploading is MUCH faster 
(I
get at least 150KiB/second). There seems to be an architectural problem with 
AndFTP
(perhaps buffering, receive window size, latency, who knows?). I think it would 
be
really cool to enable SFTP functionality into connectbot. It would make 
connecting to
an SFTP host a one click solution. Many users have UNIX hosts that they would 
like to
remote control while at the same time transfer files in/out of. 

Original comment by ziv.al...@gmail.com on 6 Dec 2009 at 12:34

GoogleCodeExporter commented 8 years ago
I would love to see this feature in connectbot

Original comment by anthony....@gmail.com on 6 Mar 2010 at 1:42

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Either SFTP or SCP would be fine if they are both compatible with a default 
OpenSSH server install. AndFTP looks great, however it does not seem to be open 
source.

Original comment by michael....@gmail.com on 13 Jul 2010 at 7:17

GoogleCodeExporter commented 8 years ago
AndFTP may look fine, but bear in mind that it supports only DSA keys for 
pubkey authentication.

RSA keys allow larger sizes and, thus, a larger keyspace for an attacker to 
have to search, not to mention that it is the default key type for ssh-keygen, 
which makes it rather common. 

Connectbot supports both already, which would almost certainly carry over to 
any sftp or scp implementation.

Original comment by eriixbla...@gmail.com on 13 Jul 2010 at 7:33

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I just migrated from windows to a mac so I'm a bit new to the *nix paradigm. 
I've been able to get ssh working and can connect to my mbp from connectbot.

If I understand this issue correctly, there is no way currently to transfer 
files between android and the ssh host via connectbot?

As for the other options like andftp, would the user have to setup a sftp 
server on the remote computer? It just seems a little redundant/strange to have 
to install and run a separate dedicated app 24/7 on my mac in the event that I 
need a file when I'm on the road, considering that I can already ssh into it. 
I've gotten the postfix mail up and running but gmail does have a 25mb 
attachment limit so using uuencode | mail via ssh isn't quite attractive.

I found this page on google (see below) but I can't seem to get any of the 
commands to work past the su (yes I have root). Perhaps its just too outdated. 
Maybe someone else here will have some luck with it and enlighten everyone: 
http://www.linux.com/community/blogs/getting-scp-working-on-android.html

Original comment by jedid...@gmail.com on 25 Jul 2010 at 10:10

GoogleCodeExporter commented 8 years ago
AndFTP supports RSA keys since release 1.9.
Also, AndFTP 2.0 will support SCP in addition to FTP, FTPS and SFTP.

LYSESOFT Team.

Original comment by lyses...@gmail.com on 7 Aug 2010 at 8:57

GoogleCodeExporter commented 8 years ago
Any scp or sftp support in ConnectBot yet?
I need to let my app upload files automatically and securely to a server and 
this would make it simple and secure.
Thanks!

Original comment by nicjdevr...@gmail.com on 23 Aug 2010 at 1:30

GoogleCodeExporter commented 8 years ago
you guys can't seriously think i will use a closed client (that might simply 
send my password to their own servers) to connect to my *secure* shell.
i hope this feature can be implemented.

Original comment by sor...@gmail.com on 30 Jan 2011 at 12:57

GoogleCodeExporter commented 8 years ago
Two years plus with no movement on file transfer support in ConnectBot.  Should 
we consider this an abandoned issue now?  I'm disappointed, if so, given the 
importance of having an open source implementation of SSH file transfer on 
Android devices -- especially given that (at least the free version of) AndFTP 
is kind of broken for SFTP even when I just want to move files across to a 
temporary account created solely for that purpose, as a work-around for having 
to trust closed source software with my passwords/keys.

Original comment by apotheon on 13 Feb 2011 at 9:14

GoogleCodeExporter commented 8 years ago
re Comment 22: You might find this helpful: http://the-b.org/~kenny/bingo.txt

Original comment by tau...@gmail.com on 13 Feb 2011 at 9:32

GoogleCodeExporter commented 8 years ago
I don't think its unreasonable to want to know what the status is of this 
feature considering that it was "planned" over two years ago and this thread 
has gone uninformed for that length of time.

Original comment by jedid...@gmail.com on 13 Feb 2011 at 9:54

GoogleCodeExporter commented 8 years ago
If andFTP continues to have a slow implementation of sftp and no scp is 
implemented in in ConnectBot, then it is worthwhile getting a few interested 
developers and exploring creating a paid app that has a very efficient sftp 
implementation. At some point this paid app can go open source to satisfy the 
issue of password/keys with closed source code.

I haven't looked in the marketplace for a while, but if no such paid app exists 
then it is definitely worhwhile to create one.

Original comment by ziv.al...@gmail.com on 14 Feb 2011 at 8:08

GoogleCodeExporter commented 8 years ago
@jedid...@gmail.com You don't need a separate app running on your mac 24/7. You 
can use AndFTP and Go to system preferences on your mac and allow "remote 
login" "ftp sharing" etc.e etc. If you toggle them on and off, you'll see your 
IP address and computer's name etc. It'll say for remote login or FTP access 
yourcomputer@192.xxx.x.xxx   etc. etc. I used that and when I use ANDFtp it 
asks me for the login I use on my mac. Then I can access all my files (even 
ones I can't even see any more when I'm on the mac!) I mean if you're just 
looking for a file on the road I don't suppose you'll need SFTP? IDK! If you 
don't mind leaving a browser up and running, you can also try Opera Unite, and 
install opera mini on your droid. Also dropbox....
Anywho I'm gonna retry the SFTP on ANdFTP now and see what flies.

Original comment by mmuld...@gmail.com on 7 Apr 2011 at 5:58

GoogleCodeExporter commented 8 years ago
For those who desperately want SCP functionality in ConnectBot, I have a few 
patches at https://github.com/staktrace/connectbot/commits/filetransfer that 
add support for it. If you know how to build Android apps, feel free to try it 
out (clone staktrace/connectbot and check out the "filetransfer" branch). The 
UI is a little clumsy; I welcome feedback on how to improve it based on actual 
usage scenarios.

Original comment by staktr...@gmail.com on 19 Apr 2011 at 2:10

GoogleCodeExporter commented 8 years ago
I have implemented a basic background SCP file transfer (inspired by above code 
link) in my clone VX ConnnectBot: http://connectbot.vx.sk - source code is on 
GitHub (https://github.com/vx/connectbot). You can try it out and ConnectBot 
developers are of course free to import the feature (open source license).

Original comment by martin.m...@vx.sk on 9 Jan 2012 at 10:59

GoogleCodeExporter commented 8 years ago
This may seem a silly suggestion, but another option would be to implement 
support for something like z-modem receives.  Then, you can just do "sz foo" to 
send file foo.  Its more an old-school terminal thing.

sftp is more like a completely separate interface (almost a completely 
different app, just uses some of the same internals).  

Original comment by bl...@google.com on 21 Aug 2012 at 4:38

GoogleCodeExporter commented 8 years ago

This app (openexplorer) claims to support sftp and it seems to be open source:

http://f-droid.org/repository/browse/?fdfilter=sftp&fdid=org.brandroid.openmanag
er&fdpage=1
http://brandroid.org/open/

I did not manage to use sftp but smb instead and it works. It has nice UI. I 
would not use a terminal for transfers having this.

txemi.

Original comment by txemit...@gmail.com on 10 Sep 2012 at 6:06

GoogleCodeExporter commented 8 years ago
I have checked a bunch of SFTP client (TurboClient, AndSFTP, ...)
None of them works with the DSA keys generated by Connnectbot

Ys it would be a million time better with scp or sftp functionalities

Original comment by svid...@gmail.com on 2 Feb 2013 at 9:34

GoogleCodeExporter commented 8 years ago
Just +1 to a simple sftp/scp support in connectbot. Sometimes we just need to 
transfer a single file (like a already generated private key to be imported)

For those with more advanced needs, ES File Explorer also support sftp, just 
click on the "FTP" and you will find it also support sftp.

Original comment by dmotale...@gmail.com on 8 Jan 2014 at 2:09

GoogleCodeExporter commented 8 years ago
Has anyone looked at using some of the code from VX ConnectBot to get SCP 
funtionality? It's just a fork of ConnectBot 1.7.1 that added a few things 
(mostly SCP functionality), but it doesn't look like it's being updated anymore.

https://github.com/vx/connectbot

Original comment by gsg...@gmail.com on 27 Oct 2014 at 2:46