welcome: please sign in

Diff for "MemberManual/TransferringFiles/ScpAndSftp"

Differences between revisions 5 and 8 (spanning 3 versions)
Revision 5 as of 2007-11-12 16:13:36
Size: 969
Editor: MichaelOlson
Comment: Use mire.hcoop.net
Revision 8 as of 2013-07-27 05:00:15
Size: 947
Editor: ClintonEbadi
Comment: fix a typo + minor updates
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
[[TableOfContents]] <<TableOfContents>>
Line 8: Line 8:
You can use plain `scp`, but it overwrites destination files and is usually only applicable when you are uploading new files to HCoop. If you don't want that to happen, please use [:../rsync:rsync]:
You can use plain `scp`, but it overwrites destination files and is usually only applicable when you are uploading new files to HCoop. If you don't want that to happen, please use [[../rsync|rsync]]:
Line 11: Line 12:
scp -r ~/html/hcoop/* USER@mire.hcoop.net:public_html scp -r ~/html/hcoop/* USER@ssh.hcoop.net:public_html
Line 15: Line 16:
Line 18: Line 20:
sftp USER@mire.hcoop.net
Connecting to mire.hcoop.net...
sftp USER@ssh.hcoop.net
Connecting to ssh.hcoop.net...
Line 24: Line 26:
With GUI FTP clients, SFTP connection is possible if the clients support "Secure FTP" or similar as the connection method. In Unix/Gnome, you could use for example `gftp`; for KDE, use the sftp KIO slave (`sftp://hcoop.net` in Konqueror); for Microsoft Windows, example clients are the free [http://WinSCP.sourceforge.net WinSCP], or proprietary FTP Voyager. With GUI FTP clients, SFTP connection is possible if the clients support "Secure FTP" or similar as the connection method. In Unix/Gnome, you could use for example `gftp`; for KDE, use the sftp KIO slave (`sftp://ssh.hcoop.net:` in Konqueror or Dolphin); for Microsoft Windows, [[http://WinSCP.sourceforge.net|WinSCP]] is recommended.

This is the chapter of the MemberManual that describes how to transfer files using scp and sftp.

Using scp

You can use plain scp, but it overwrites destination files and is usually only applicable when you are uploading new files to HCoop. If you don't want that to happen, please use rsync:

scp -r ~/html/hcoop/* USER@ssh.hcoop.net:public_html

Using sftp

You can run command-line sftp (Secure FTP) tool:

sftp USER@ssh.hcoop.net
Connecting to ssh.hcoop.net...
Password:
sftp> help

With GUI FTP clients, SFTP connection is possible if the clients support "Secure FTP" or similar as the connection method. In Unix/Gnome, you could use for example gftp; for KDE, use the sftp KIO slave (sftp://ssh.hcoop.net: in Konqueror or Dolphin); for Microsoft Windows, WinSCP is recommended.

MemberManual/TransferringFiles/ScpAndSftp (last edited 2013-07-27 05:00:15 by ClintonEbadi)