[ale] i just don't "get" it yet GOT IT
Geoffrey
esoteric at 3times25.net
Tue Apr 16 21:15:45 EDT 2002
ChangingLINKS.com wrote:
> How to I ssh in? I am not the same user on my local machine as I am on the
> server. . . .
man ssh says....
ssh [-l login_name] hostname .....
>
> Drew
>
> On Tuesday 16 April 2002 20:59, hirsch at zapmedia.com wrote:
>
>>ChangingLINKS.com writes:
>> > Okay, I was able to get the file. The problem was that I was telnetting
>> > in, and then typing "ftp" at the telnet prompt. I guess that ftp thought
>> > I was at server. The solution was to exit the telnet connection, THEN
>> > type ftp and it works every time based solely on the "get" command.
>>
>>The reason it didn't work and gave the error it gave is that you were
>>ftping from the remote server to the remote server. When you tried to
>>copy the file to /data it tried to copy to /data *on*the*server* and I
>>bet the server doesn't have a /data directory.
>>
>> > This "ftp remote" that you mentioned may be a solution to that problem,
>> > where I can ftp _while_ still in telnet. Really I should be using ssh,
>> > and scp (assuming ssh can do the mySQL dump and tarring that telnet
>> > does).
>> >
>> > Thank you all for your help on this. Now in a "but wait, it gets
>> > worse" fashion: Is there anyway to make this a .sh script that I can
>> > click on? How does the sh script know to wait for the file to get tarred
>> > and transfered before deleteing the file (there is a time delay)?
>>
>>This would be a good reason to switch to ssh/scp (or sftp) instead of
>>telnet/ftp. It is easy to do with ssh/scp.
>>
>>Glad you figured it out!
>>
>>--Michael
>>
>> > Drew
>> >
>> > On Tuesday 16 April 2002 17:08, hirsch at zapmedia.com wrote:
>> > > ChangingLINKS.com writes:
>> > > > Okay. My user account has permission to write to /data (I use /data
>> > > > all day everyday). I have even tried created a file (using an
>> > > > editor) called /data/CLbackup.tgz to try to trick ftp into
>> > > > trasferring the file. The commands below are what I entered. You
>> > > > can see the variations on a theme to try to get it to work. I am
>> > > > thinking /data is is not a subdirectory of anything, moreover, when
>> > > > I omit "/data" to get the file to copy to /home/user, it still
>> > > > doesn't work. The issue does not seem to be related to /data. TIA
>> > > > for your help.
>> > >
>> > > Can you "lcd /data"? lcd is "local cd". Or try running ftp from the
>> > > /data dir.
>> > >
>> > > --Michael
>> > >
>> > > > ftp> ls
>> > > > 227 Entering Passive Mode (209,211,232,3,79,56)
>> > > > 150 Opening ASCII mode data connection for directory listing.
>> > > > total 7892
>> > > > -rw-rw-r-- 1 834 835 949774 Apr 16 13:03 CLbackup.tgz
>> > > > -rw-rw-r-- 1 834 835 3070111 Apr 16 13:03 dbbackup.txt
>> > > > drwxr-xr-x 7 834 835 1024 Apr 16 13:04 public_html
>> > > > 226 Transfer complete.
>> > > > ftp> get /home/rk4com/CLbackup.tgz /data
>> > > > local: /data remote: /home/rk4com/CLbackup.tgz
>> > > > local: /data: No such file or directory
>> > > > ftp> get /home/rk4com/CLbackup.tgz tb1200:/data
>> > > > local: tb1200:/data remote: /home/rk4com/CLbackup.tgz
>> > > > local: tb1200:/data: No such file or directory
>> > > > ftp> get /home/rk4com/CLbackup.tgz
>> > > > local: ./home/rk4com/CLbackup.tgz remote: /home/rk4com/CLbackup.tgz
>> > > > local: ./home/rk4com/CLbackup.tgz: No such file or directory
>> > > > ftp> get /home/rk4com/CLbackup.tgz /data
>> > > > local: /data remote: /home/rk4com/CLbackup.tgz
>> > > > local: /data: No such file or directory
>> > > > ftp> get /home/rk4com/CLbackup.tgz /data/
>> > > > local: /data/ remote: /home/rk4com/CLbackup.tgz
>> > > > local: /data/: No such file or directory
>> > > > ftp>
>> > > >
>> > > > --
>> > > > Wishing you Happiness, Joy and Laughter,
>> > > > Drew
>> > > > http://www.ChangingLINKS.com
>> > > >
>> > > > ---
>> > > > This message has been sent through the ALE general discussion list.
>> > > > See http://www.ale.org/mailing-lists.shtml for more info. Problems
>> > > > should be sent to listmaster at ale dot org.
>> > >
>> > > ---
>> > > This message has been sent through the ALE general discussion list.
>> > > See http://www.ale.org/mailing-lists.shtml for more info. Problems
>> > > should be sent to listmaster at ale dot org.
>>
>
--
Until later: Geoffrey esoteric at 3times25.net
I didn't have to buy my radio from a specific company to listen
to FM, why doesn't that apply to the Internet (anymore...)?
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.
More information about the Ale
mailing list