Hi Sheila. Thanks for reply, but they suggest I use something like psftp. Can I use something similar from the server [server1] to another server [server2]?
Thank you. Amrit ----- Original Message ----- From: "Sheila Fenelon" <[EMAIL PROTECTED]> To: <wdvltalk@lists.wdvl.com> Sent: Friday, February 25, 2005 7:33 AM Subject: Re: [wdvltalk] How is this done? > Amrit, > > Instead of ssh use scp (secure copy). Like this > > scp <login_name>@<domain_name>:<path_to_file> <local_file> > > Like ssh it will prompt you for the password. If I wanted to copy the > index.php file from my web site I would type this command > > scp [EMAIL PROTECTED]:www/htdocs/index.php index.php > > My login name is shefen, the domain is shefen.com, the path to file when > I ssh to the machine is www/htdocs/index.php, and index.php is the name > I want to give the file locally. > > You can also use wildcards > > scp [EMAIL PROTECTED]:www/htdocs/*.php . > > This will copy all files named with .php extension to the current local > directory (notice the . at the end, after php) > > This one will copy everything and go into subdirectories and copy all > those files too > > scp -r [EMAIL PROTECTED]:www/htdocs/* . > > > > HTH, > Sheila > http://www.shefen.com/ > > > Amrit Hallan wrote: > > Hi Sheila. > > > > Thank you very much. Following your steps I was able to login. Can you > > please tell me now how I can download files from there? > > > > Amrit > > > > ----- Original Message ----- > > From: "Sheila Fenelon" <[EMAIL PROTECTED]> > > To: <wdvltalk@lists.wdvl.com> > > Sent: Monday, February 21, 2005 10:01 PM > > Subject: Re: [wdvltalk] How is this done? > > > > > > > >>Amrit Hallan wrote: > >> > >>>"A better solution might be for Amrit to find somewhere else he can ssh > > > > to > > > >>>with a static IP (i.e. a public web server he controls), and have Mark A > > > > add > > > >>>that IP to the accept list on his firewall. Then Amrit ssh's to his > > > > server, > > > >>>and then from his server to your server." > >>> > >>>How do I first SSH to my server and then from my server to their server? > >>>Another thing, are there some good online tutorials for handling such > >>>things? > >>> > >> > >>I assume you have a dynamic IP address from your ISP. So they want you > >>to SSH from a machine with a static IP address. > >> > >>You are on Windows, using Putty for SSH access. Use that to to SSH to a > >>machine with a static IP address. (Do you have web hosting on a Unix > >>machine that allows SSH access?) Once logged in to the Unix machine > >>you'll have a command prompt and just need to issue this command > >> > >>ssh -l <login_name> <domain_name> > >> > >>If the connection is accepted, you'll be prompted for the password. > >> > >>Sheila > >>-- > >>Sheila Fenelon > >>http://www.shefen.com/ > >> > > > ____ . The WDVL Discussion List from WDVL.COM . ____ > To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or > use the web interface http://e-newsletters.internet.com/discussionlists.html/ > Send Your Posts To: wdvltalk@lists.wdvl.com > To change subscription settings, add a password or view the web interface: > http://intm-dl.sparklist.com/read/?forum=wdvltalk > > ________________ http://www.wdvl.com _______________________ > > You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] > To unsubscribe send a blank email to [EMAIL PROTECTED] > To unsubscribe via postal mail, please contact us at: > Jupitermedia Corp. > Attn: Discussion List Management > 475 Park Avenue South > New York, NY 10016 > > Please include the email address which you have been contacted with. > ____ • The WDVL Discussion List from WDVL.COM • ____ To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or use the web interface http://e-newsletters.internet.com/discussionlists.html/ Send Your Posts To: wdvltalk@lists.wdvl.com To change subscription settings, add a password or view the web interface: http://intm-dl.sparklist.com/read/?forum=wdvltalk ________________ http://www.wdvl.com _______________________ You are currently subscribed to wdvltalk as: archive@jab.org To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.