file transfers over ssh n.
Skip this Video
Loading SlideShow in 5 Seconds..
File Transfers over SSH PowerPoint Presentation
Download Presentation
File Transfers over SSH

File Transfers over SSH

96 Vues Download Presentation
Télécharger la présentation

File Transfers over SSH

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. File Transfers over SSH James Watt

  2. Here is an example of what you might have to do if you wish to copy a file from SERVERA onto SERVERB. For a 800mb file, it would take 39 minutes to dowload and then 3 hours 20 minutes to upload. That’s about 4 hours.

  3. With a shell account, you can log directly into a server. From there, you can give the server commands and it will do them as if you were physically on that machine. Here I connect to Server B with SSH and tell it to download the 800mb file directly from Server A. This removes me from the middle. Since servers are typically on faster connections than your home internet, speeds server to server are quite fast (I’ve got up to 3mbytes/sec before). Now that 800mb file only takes about 6 minutes (BIG DIFFERENCE).

  4. First I Open the terminal on the local machine

  5. Then I tell it to connect to my server,, via ssh, using the login ‘james’.

  6. Now I’m logged in. Anything I do is being doneas if I was physically at the computer.

  7. Next I will run a texted basedweb browser on so Ican connect to anddownload the 800mb installerfor xcode. Not only will this be muchquicker, but my IP address andidentity will be hidden from theApple server.

  8. Next I will demonstrate how to connect to oneserver and move files to another using SFTP(Secure File Transfer Protocol).This is different than the last example becausewe are sending instead of receiving.

  9. Notice how these servers are alsoaccessible via the web browser.Not all servers run a webserverdaemon, but mine have apacheinstalled to make it easier toaccess files and data in locationsthat I can’t connect in via ssh.

  10. Next I will use a program named “Cyberduck”to sftp from my local computer. Thisis a direct upload from me to the server, andit is done with a GUI application rather thanthrough the command line.

  11. It’s hard to mask your identity over theinternet, but by connecting through ashell you are able to hide. Any program you run on your server,may it be an IRC client, a BitTorrentdownload, or an attack on a website, It will only trace backto the server. Donot use this to try to get away withsomething illegal, because the FBI willget search warrants, take your server,and use the log files to find you. In this example I log into IRC over theserver and do a “/whois” of my login.It says my IP address, but the addressit thinks I am belongs to, notmy laptop.