en:navody:scp:start

Table of Contents

SCP

In GNU/Linux you can use program scp (command line tool) for copying files between local station and server - it is very simple to use.

ownCloud

Address of the service is: https://owncloud.cesnet.cz

FileSender

Address of the service is: https://filesender.cesnet.cz

During the login process is very important to check if fingerprint of server is valid. To verify server please use fingerprints below. All servers in one datacenter have the same RSA, DSA and ECDSA key.

Ostrava data center (du4):

ECDSA, SHA256 (du4) 9YvWE2h459dMcLWcLcD1DsrxTjqqMLD16eiSYXBVX9k 
ED25519, SHA256 (du4) L0AFWpSsuq+SFl2QBip4aFJEuG3JEnUxczomfEywYvc

Jihlava data center (du5):

ECDSA, SHA256 (du5) YB7YnmuMktwsFxVe5qdzy2bLU9y+0yowEcpZp82P4nk

If the key does not match, stop connecting to the server and contact us at: support@cesnet.cz If the key does not match, stop connecting to the server and contact us at: support@cesnet.cz

When you are copying a file you can use the command:

scp file user@server:~/

After the data was send rsync will wait for password and then copy the file to the user's home directory.

When you want to copy a directory you have to add the “-r”.

scp -r adresar uzivatel@server:~/

When you are copying data from the server you only swap the order of source and destination:

scp -r user@server:~/path_on_server /local/directory/where/we/will/save/data/ 
Last modified:: 01.11.2015 13:26