the dialog closes, a link on the server s/homedirectory (Web hosting bandwidth)

the dialog closes, a link on the server s/homedirectory appears on your desktop. 3.To connect to the remote machine, just double- click the icon. A Konqueror browser window opens, showingthe /homedirectory. Copying Files with scpscpis similar to the cpcommand: It copies a file froma source to a destination. The difference betweenscpand cpis that scpcan deal with files stored onremote hosts. scpuses the SSH protocol to encryptthe file being transferred and can take advantage ofSSH s compression feature to save you time. You canuse scpto completely replace cp. To copy a file fromone directory to another (on your local machine), use the following command: $ scp /tmp/drink-recipes.txt /home/ If you want to copy a file from an SSH server or to anSSH server, include the remote host name on thecommand line, like this: $ scp louvre:/pics/monalisa.jpg /tmp/ $ scp /tmp/monalisa.jpg orsay:/pics/ If you see a name that includes a colon, itmost likely refers to a remote computer. The first command copies /pics/monalisa.jpgfromhost louvreto the /tmpdirectory on your local com- puter. The second command copies the picture fromyour local computer to host orsay. If you haven tcopied your public key to louvreor orsay, you reasked for a password. You can also use scpto copy from one remotemachine to another remote machine: $ scp louvre:/pics/monalisa.jpgorsay:/picsEnable compression with the -Coption: $ scp -C /tmp/monalisa.jpg orsay:/pics/ If you don t specify a fully qualified pathname, scpassumes that you want to copy into (or from) yourhome directory on the remote computer. For exam- ple, the command$ scp -C louvre:paintings.list orsay: copies a file from your home directory on louvretoyour home directory on orsay. You can include wildcards in an scpcommand, butyou have to quote them if you want the wildcards tobe expanded by the computer on the other end ofthe connection. For example, to copy all the .jpgfiles in your home directory on louvreto your localmachine, use the following command: $ scp -C louvre:*.jpg /tmp/ If you forget the quotes, the bash shell expands thewildcard before scpever gets a chance to see it. You can use scpto copy an entire directorytree with the -roption. Secure (And Fast) PortForwarding with SSHNo Web site should be without a good firewallbecause too many villains are out there waiting toattack your computer. Firewalls keep the bad guysout, but they can sure make life tough for those of uswearing the white hats. Fortunately for the goodguys, SSH can slip you past a firewall in no time. Port forwarding lets you securely connect to a spe- cific port on a remote computer without beingblocked by a firewall. Neither the remote machine noryour local system can even tell that a firewall is there.
If you are in need for cheap and reliable webhost to host your website, we recommend http web server services.

Leave a Reply