Data transfer to/from Pelle using SFTP¶
There are multiple ways to transfer data to/from Pelle.
Data transfer to/from Pelle using SFTP is one of the ways ways to transfer files to/from Pelle
What are the other ways?
One can transfer files to/from Pelle using SFTP.
SFTP is an abbreviation of 'SSH File Transfer Protocol',
where 'SSH' is an abbreviation of 'Secure Shell protocol'
The program sftp
allows you to transfer files to/from Pelle using SFTP.
The process is described here:
Step 1. Start a terminal on your local computer¶
Start a terminal on your local computer.
Step 2. Run sftp
to connect to Pelle¶
In the terminal, run sftp
to connect to Pelle by doing:
where [username]
is your UPPMAX username, for example:
Step 3. If asked, give your UPPMAX password¶
If asked, give your UPPMAX password. You can get rid of this prompt if you have setup SSH keys
Step 4. Upload/download files to/from Pelle¶
In sftp
, upload/download files to/from Pelle.
flowchart TD
%% Give a white background to all nodes, instead of a transparent one
classDef node fill:#fff,color:#000,stroke:#000
%% Graph nodes for files and calculations
classDef file_node fill:#fcf,color:#000,stroke:#f0f
classDef calculation_node fill:#ccf,color:#000,stroke:#00f
user(User)
user_local_files(Files on user computer):::file_node
subgraph sub_inside[SUNET]
subgraph sub_pelle_shared_env[Pelle]
login_node(login/calculation/interactive session):::calculation_node
files_in_pelle_home(Files in Pelle home folder):::file_node
end
end
%% Shared subgraph color scheme
%% style sub_outside fill:#ccc,color:#000,stroke:#ccc
style sub_inside fill:#fcc,color:#000,stroke:#fcc
style sub_pelle_shared_env fill:#ffc,color:#000,stroke:#ffc
user --> |logs in |login_node
user --> |uses| user_local_files
login_node --> |can use|files_in_pelle_home
%% user_local_files <--> |graphical tool|files_in_pelle_home
%% user_local_files <--> |SCP|files_in_pelle_home
user_local_files <==> |SFTP|files_in_pelle_home
%% Aligns nodes prettier
user_local_files ~~~ login_node
Overview of file transfer on Pelle The purple nodes are about file transfer, the blue nodes are about 'doing other things'. The user can be either inside or outside SUNET.