+ Reply to Thread
Results 1 to 14 of 14




  

Thread: Shell Access

      
  1. #1
    Jedi Master Chuman is on a distinguished road Chuman's Avatar
    Join Date
    April 18, 2008
    Posts
    184
    Rep Power
    5
    Feedback Score
    0

    Default Shell Access

    If I get shell access in Cpanel can I copy huge chunk of files by authentication through it ? Please guide me. I want to download large zip files exceeding 600 MB in size it has authentication so I need to authenticate before I can download the files.

  2. #2
    Grand Masters vectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nice vectro's Avatar
    Join Date
    September 5, 2008
    Location
    U.S.A.
    Posts
    1,499
    Rep Power
    4
    Feedback Score
    0

    Default Re: Shell Access

    If the server the file is on has an FTP server on it you can log into your shell account and download it via an FTP client.

    From the shell do:

    ftp hostname.blah.com
    cd whateverdir
    get hugefile.zip
    Vectro Web Hosting - Web hosting with solid tech support.

    x Proxy Host - Affordable PHP proxy hosting with proxy-specific features.

  3. #3
    Will Work For Coffee :-} Big Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond repute Big Dan's Avatar
    Join Date
    October 14, 2006
    Location
    New York
    Posts
    1,954
    Rep Power
    8
    Feedback Score
    0

    Default Re: Shell Access

    If you've got shell access on the target server simply use wget

    the command sytax looks like this:

    wget -c ftp://username:password@host/path/to/file

    Lets say your FTP server is running cpanel and is ftp.domain.com, username is WTF, password is wtfftw, and the file resides publicly in domain.com/downloads/bigfile.zip this is what the command will look like:

    wget -c ftp://wtf:wtfftw@ftp.domain.com/public_html/downloads/bigfile.zip

    We use the -c flag in case the download gets interrupted this way you can restart from the same point later.

    Edited to added:

    You can also connect to the source server over the SSH protocol using the same syntax but changing FTP:// to SSH://.
    Last edited by Big Dan; Nov 21st, 2008 at 8:35 am.
    Big Dan
    DJ Talk - Where DJ's meet! | Almost Geek - Geeky Tutorials and Stuff | Got Email Questions?

  4. #4
    Jedi Master Chuman is on a distinguished road Chuman's Avatar
    Join Date
    April 18, 2008
    Posts
    184
    Rep Power
    5
    Feedback Score
    0

    Default Re: Shell Access

    Thank you very much guys but I lately came to know that it's password protected directory and the user login credentials are not FTP they are only Directory access username and password, what do I do in this case

    I recently bought games pack which exceed more than 600+ MB in size and it's a big pain downloading them because we have frequent load shedding in our country. Please advice me more.

  5. #5
    Grand Masters vectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nice vectro's Avatar
    Join Date
    September 5, 2008
    Location
    U.S.A.
    Posts
    1,499
    Rep Power
    4
    Feedback Score
    0

    Default Re: Shell Access

    A proxy can help you circumvent restrictions in your country, particularly if you use an SSH Tunnel as a proxy. That might be getting a little complicated if you only plan on using it once, however.
    Vectro Web Hosting - Web hosting with solid tech support.

    x Proxy Host - Affordable PHP proxy hosting with proxy-specific features.

  6. #6
    Jedi Master Chuman is on a distinguished road Chuman's Avatar
    Join Date
    April 18, 2008
    Posts
    184
    Rep Power
    5
    Feedback Score
    0

    Default Re: Shell Access

    But why would I need proxy for this ? I only need to authenticate and download the file ?

  7. #7
    Grand Masters vectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nice vectro's Avatar
    Join Date
    September 5, 2008
    Location
    U.S.A.
    Posts
    1,499
    Rep Power
    4
    Feedback Score
    0

    Default Re: Shell Access

    The ssh tunnel proxy would be used to get around your country's traffic shaping. Your browser can then be used to authenticate and download the file.
    Vectro Web Hosting - Web hosting with solid tech support.

    x Proxy Host - Affordable PHP proxy hosting with proxy-specific features.

  8. #8
    Jedi Master Chuman is on a distinguished road Chuman's Avatar
    Join Date
    April 18, 2008
    Posts
    184
    Rep Power
    5
    Feedback Score
    0

    Default Re: Shell Access

    Oh I got it I have the shell access but I don't know how to login any detailed guide ?

  9. #9
    Grand Masters vectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nice vectro's Avatar
    Join Date
    September 5, 2008
    Location
    U.S.A.
    Posts
    1,499
    Rep Power
    4
    Feedback Score
    0

    Default Re: Shell Access

    Here are the guides. Do the first one then the next one:

    Configure PuTTY To Create SSH SOCKS Proxy For Secure Browsing

    Configure Firefox To Use SSH SOCKS Proxy Tunnel

    It might be kind of complicated for the simple thing you need to do but my ISP most likely does traffic shaping even here in the U.S. and this type of tunnel helps me get around that.
    Vectro Web Hosting - Web hosting with solid tech support.

    x Proxy Host - Affordable PHP proxy hosting with proxy-specific features.

  10. #10
    Jedi Master Chuman is on a distinguished road Chuman's Avatar
    Join Date
    April 18, 2008
    Posts
    184
    Rep Power
    5
    Feedback Score
    0

    Default Re: Shell Access

    Thank you once again vectro, I went through the tutorial and used the following command line

    putty.exe -D 9853 username@sshhost and press Enter

    but I am getting error messages like connection refused... any other alternatives.

  11. #11
    Grand Masters vectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nice vectro's Avatar
    Join Date
    September 5, 2008
    Location
    U.S.A.
    Posts
    1,499
    Rep Power
    4
    Feedback Score
    0

    Default Re: Shell Access

    Did you replace username@sshhost with with your actual username and your actual host? If your username is chuman and your host is example.com you would enter it like:

    putty.exe -D 9853 chuman@example.com

    Also, your shell account provider might be operating on a different port than the default. You might want to ask them what the correct connection settings are.
    Vectro Web Hosting - Web hosting with solid tech support.

    x Proxy Host - Affordable PHP proxy hosting with proxy-specific features.

  12. #12
    Jedi Master Chuman is on a distinguished road Chuman's Avatar
    Join Date
    April 18, 2008
    Posts
    184
    Rep Power
    5
    Feedback Score
    0

    Default Re: Shell Access

    Yes I changed the username I see the default port set is 22 I will ask them and try again.. Thank you very much Vectro For your continuos replies.

  13. #13
    Grand Masters vectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nice vectro's Avatar
    Join Date
    September 5, 2008
    Location
    U.S.A.
    Posts
    1,499
    Rep Power
    4
    Feedback Score
    0

    Default Re: Shell Access

    Now that I think about it, some shell providers disable tunneling. You might want to ask them about that.
    Vectro Web Hosting - Web hosting with solid tech support.

    x Proxy Host - Affordable PHP proxy hosting with proxy-specific features.

  14. #14
    Jedi Master Chuman is on a distinguished road Chuman's Avatar
    Join Date
    April 18, 2008
    Posts
    184
    Rep Power
    5
    Feedback Score
    0

    Default Re: Shell Access

    I asked my host about the port and I got it I can now connected and just copied a zip of 630+ MB thank you very very much Vectro with out your kind support I wouldn't get it so easily.

    Thank you once again
    Last edited by Chuman; Nov 22nd, 2008 at 10:20 am.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. access to mysql
    By Toom in forum HTML & Website Design
    Replies: 1
    Last Post: Aug 20th, 2008, 3:22 am
  2. Domains Site Access
    By NowakFilip in forum General Business
    Replies: 13
    Last Post: Jun 27th, 2008, 6:03 am
  3. Can You Access The Site ?
    By NowakFilip in forum General Business
    Replies: 4
    Last Post: Jun 21st, 2008, 5:47 pm
  4. How to open raw access logs?
    By Colleen in forum Web Hosting
    Replies: 2
    Last Post: Jan 13th, 2008, 3:25 am
  5. My website, please check if you can access
    By Colleen in forum Internet
    Replies: 23
    Last Post: Sep 18th, 2007, 10:25 am

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
WebTalkForums
WebTalkForums
Recent Forum Threads