Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.mobile.android > #63610 > unrolled thread
| Started by | pinnerite <pinnerite@gmail.com> |
|---|---|
| First post | 2019-09-10 19:57 +0000 |
| Last post | 2019-09-14 11:40 +1000 |
| Articles | 9 — 7 participants |
Back to article view | Back to comp.mobile.android
copy file from PC to Android pinnerite <pinnerite@gmail.com> - 2019-09-10 19:57 +0000
Re: copy file from PC to Android pinnerite <pinnerite@gmail.com> - 2019-09-10 20:02 +0000
Re: copy file from PC to Android David Taylor <david-taylor@blueyonder.co.uk.invalid> - 2019-09-11 10:06 +0100
Re: copy file from PC to Android "Arlen G. Holder" <arlen.g.holder@arlenholder.net> - 2019-09-11 13:55 +0000
Re: copy file from PC to Android Anssi Saari <as@sci.fi> - 2019-09-12 11:08 +0300
Re: copy file from PC to Android Lothar DeBaser <debaser@tiscali.co.uk> - 2019-09-12 11:45 +0100
Re: copy file from PC to Android "Carlos E.R." <robin_listas@es.invalid> - 2019-09-12 13:45 +0200
Re: copy file from PC to Android Lucifer <LuciferMorningstar@bigpond.com> - 2019-09-14 11:44 +1000
Re: copy file from PC to Android Lucifer <LuciferMorningstar@bigpond.com> - 2019-09-14 11:40 +1000
| From | pinnerite <pinnerite@gmail.com> |
|---|---|
| Date | 2019-09-10 19:57 +0000 |
| Subject | copy file from PC to Android |
| Message-ID | <ql8v73$ec8$1@dont-email.me> |
On advice received here, i installed sshelper on my Android 9 cellphone. I can ssh to the phone but I want to scp a pdf file to it but my command produces permission denied. This is what have: sshelper says that the Android's port number is 2222 and its ip address is 192.68.0.115. My computer Ip address is 192.168.0.4 In sshelper I cd to SDCard/Download, then $ scp 192.168.0.4:/home/myhome/pdf_folder/my_file.pdf . I am then asked for 192.168.0.4's password. I supply my login password and get 'Permission denied' Is what I am trying to do possible using sshelper?
[toc] | [next] | [standalone]
| From | pinnerite <pinnerite@gmail.com> |
|---|---|
| Date | 2019-09-10 20:02 +0000 |
| Message-ID | <ql8vhc$m3h$1@dont-email.me> |
| In reply to | #63610 |
On Tue, 10 Sep 2019 19:57:23 +0000, pinnerite wrote: > On advice received here, i installed sshelper on my Android 9 cellphone. > I can ssh to the phone but I want to scp a pdf file to it but my command > produces permission denied. > > This is what have: > sshelper says that the Android's port number is 2222 and its ip address > is 192.68.0.115. > > My computer Ip address is 192.168.0.4 > > In sshelper I cd to SDCard/Download, then > > $ scp 192.168.0.4:/home/myhome/pdf_folder/my_file.pdf . > > I am then asked for 192.168.0.4's password. > > I supply my login password and get 'Permission denied' > > Is what I am trying to do possible using sshelper? I forgot to add that I am using Putty on the PC (Linux Mint).
[toc] | [prev] | [next] | [standalone]
| From | David Taylor <david-taylor@blueyonder.co.uk.invalid> |
|---|---|
| Date | 2019-09-11 10:06 +0100 |
| Message-ID | <qladen$ahp$2@dont-email.me> |
| In reply to | #63610 |
On 10/09/2019 20:57, pinnerite wrote: > On advice received here, i installed sshelper on my Android 9 cellphone. > I can ssh to the phone but I want to scp a pdf file to it but my command > produces permission denied. I use File Manager HD which allows FTP access. -- Cheers, David Web: http://www.satsignal.eu
[toc] | [prev] | [next] | [standalone]
| From | "Arlen G. Holder" <arlen.g.holder@arlenholder.net> |
|---|---|
| Date | 2019-09-11 13:55 +0000 |
| Message-ID | <qlaude$ri4$1@news.mixmin.net> |
| In reply to | #63620 |
On Wed, 11 Sep 2019 10:06:31 +0100, David Taylor wrote: > I use File Manager HD which allows FTP access. It's nice you took a chance to answer this question since this is a risky question to answer given the precisemenss of some of the points and the ambiguity of others, where I've listed the FTP servers (and others) I've tested here: <https://groups.google.com/d/msg/comp.mobile.android/JrWLPRYO-TU/l6GBDGjwBgAJ> I didn't answer the Op's question because it's not clear, to me, what the OP's main goal is, since there are literally _many_ ways to "copy files from Linux to Android" & vice versa, e.g., <http://www.bild.me/bild.php?file=6181360dir01.jpg> There are so many ways that I will have trouble listing them, e.g., o FTP (as you noted), via ports 22/21 for example, or sftp) o WebDAV (as we've discussed in the past) o HTTP and https (as we've discussed many times) o MTP (as we've discussed many times) o adb (all of which we've covered in detail) o expansion slots (which are obvious) o CalDAV (for certain types of files) o SMB (again, all of which we've covered) o LibMTP & MTPDrive (for those who like command line access) o Proprietary solutions (e.g., AirDroid, WiFiDirect, Kies, DoubeTWist, etc) o and, of course, ssh o And likely a few I've missed in this ad hoc summary Some of which matter "how" the Android device is connected, e.g., o USB versus WiFi versus expansion slots, etc. Using the following random references as my memory aid: o Tutorial to run any Windows command directly on Android over either USB or Wi-Fi <https://groups.google.com/d/msg/comp.mobile.android/JrWLPRYO-TU/7BMBh2WjBQAJ> o Do you have a working freeware automatic sync between Android & Windows? <https://groups.google.com/d/msg/comp.mobile.android/7aOWwoEwsZ0/3f5qTpwBAgAJ> o Do these 3 WiFi tests of a network location to a drive letter mapping work for you on Android 7.0 Nougat & Windows 10 using only freeware? <https://groups.google.com/d/msg/comp.mobile.android/IswZ5yEcpYA/wWuqoICZBgAJ> o what is "android debug bridge" <https://groups.google.com/d/msg/comp.mobile.android/K4UNdlVrrvs/yAB71Yp9AgAJ> o Freeware to access your Android hosts file from Windows without being root <https://groups.google.com/d/msg/comp.mobile.android/LTQtwSGROw8/XePw-iPuAgAJ> o Has anyone here ever set up a CalDAV server on Windows for use with Android CalDAV clients? <https://groups.google.com/d/msg/comp.mobile.android/52iSsFUQinE/TOVW_iPNEQAJ> o How to mount the entire mobile device file system on Linux <https://groups.google.com/d/msg/comp.mobile.android/6PQmYWSk34I/9kz19EkZCQAJ> o What do you use to copy text files from Windows XP to Android over WiFi? <https://groups.google.com/d/msg/comp.mobile.android/OkDfuDN9fZU/mFAMnIPGFQAJ> etc. This is not a critique of the OP's post; it's just a note why I didn't try to answer it, simply because the OP seems to want to use ssh which I'm unfamiliar with given that I use many of the other methods instead. The OP might be way ahead of us given the type of question, so I hope this is taken simply in the light of saying that there are MANY ways to copy files back and forth - but each has its own pros and cons, so everything depends on the problem set that we are trying to resolve, which I'm confused about for this thread.
[toc] | [prev] | [next] | [standalone]
| From | Anssi Saari <as@sci.fi> |
|---|---|
| Date | 2019-09-12 11:08 +0300 |
| Message-ID | <vg34l1igcn7.fsf@coffee.modeemi.fi> |
| In reply to | #63610 |
pinnerite <pinnerite@gmail.com> writes: > In sshelper I cd to SDCard/Download, then > > $ scp 192.168.0.4:/home/myhome/pdf_folder/my_file.pdf . > > I am then asked for 192.168.0.4's password. > > I supply my login password and get 'Permission denied' > > Is what I am trying to do possible using sshelper? I think so, I've certainly done similar. Mostly with rsync though. Anyways, I think you problem is not specifying the user on your PC unless you happen to have a the same user on your PC as your phone. On my phone the user is u0_a233 for whatever reason. So try scp pinnerite@192.168.0.4:/home/myhome/pdf_folder/my_file.pdf .
[toc] | [prev] | [next] | [standalone]
| From | Lothar DeBaser <debaser@tiscali.co.uk> |
|---|---|
| Date | 2019-09-12 11:45 +0100 |
| Message-ID | <qld7jh$1hgq$1@gioia.aioe.org> |
| In reply to | #63610 |
On 10/09/19 20:57, pinnerite wrote: > On advice received here, i installed sshelper on my Android 9 cellphone. > I can ssh to the phone but I want to scp a pdf file to it but my command > produces permission denied. > > This is what have: > sshelper says that the Android's port number is 2222 and its ip address > is 192.68.0.115. > > My computer Ip address is 192.168.0.4 > > In sshelper I cd to SDCard/Download, then > > $ scp 192.168.0.4:/home/myhome/pdf_folder/my_file.pdf . > > I am then asked for 192.168.0.4's password. > > I supply my login password and get 'Permission denied' > > Is what I am trying to do possible using sshelper? > I've installed samba on my PC, and so it's file system appears in the file manager on my phone. -- Un chien andalu-sia
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E.R." <robin_listas@es.invalid> |
|---|---|
| Date | 2019-09-12 13:45 +0200 |
| Message-ID | <gnnp4g-v58.ln1@Telcontar.valinor> |
| In reply to | #63610 |
On 10/09/2019 21.57, pinnerite wrote: > On advice received here, i installed sshelper on my Android 9 cellphone. > I can ssh to the phone but I want to scp a pdf file to it but my command > produces permission denied. > > This is what have: > sshelper says that the Android's port number is 2222 and its ip address > is 192.68.0.115. > > My computer Ip address is 192.168.0.4 > > In sshelper I cd to SDCard/Download, then > > $ scp 192.168.0.4:/home/myhome/pdf_folder/my_file.pdf . > > I am then asked for 192.168.0.4's password. > > I supply my login password and get 'Permission denied' > > Is what I am trying to do possible using sshelper? Maybe, but you do not specify the user name. You can omit the name if it is the same as in your (client) computer, otherwise you have to specify it. -- Cheers, Carlos.
[toc] | [prev] | [next] | [standalone]
| From | Lucifer <LuciferMorningstar@bigpond.com> |
|---|---|
| Date | 2019-09-14 11:44 +1000 |
| Message-ID | <dehone9g64s4ppsfiarlgjpkcjjqph2ib4@4ax.com> |
| In reply to | #63669 |
On Thu, 12 Sep 2019 13:45:20 +0200, "Carlos E.R." <robin_listas@es.invalid> wrote: >On 10/09/2019 21.57, pinnerite wrote: >> On advice received here, i installed sshelper on my Android 9 cellphone. >> I can ssh to the phone but I want to scp a pdf file to it but my command >> produces permission denied. >> Is what I am trying to do possible using sshelper? > >Maybe, but you do not specify the user name. You can omit the name if it >is the same as in your (client) computer, otherwise you have to specify it. I use root as the login name with the FTP server.
[toc] | [prev] | [next] | [standalone]
| From | Lucifer <LuciferMorningstar@bigpond.com> |
|---|---|
| Date | 2019-09-14 11:40 +1000 |
| Message-ID | <18honelgltk192m3jtl040p3882fsd9605@4ax.com> |
| In reply to | #63610 |
On Tue, 10 Sep 2019 19:57:23 -0000 (UTC), pinnerite <pinnerite@gmail.com> wrote: >On advice received here, i installed sshelper on my Android 9 cellphone. >I can ssh to the phone but I want to scp a pdf file to it but my command >produces permission denied. > >This is what have: >sshelper says that the Android's port number is 2222 and its ip address >is 192.68.0.115. > >My computer Ip address is 192.168.0.4 > >In sshelper I cd to SDCard/Download, then > >$ scp 192.168.0.4:/home/myhome/pdf_folder/my_file.pdf . > >I am then asked for 192.168.0.4's password. > >I supply my login password and get 'Permission denied' > >Is what I am trying to do possible using sshelper? I use FTP.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.mobile.android
csiph-web