TWCC
    • Sharing Link copied
    • /edit
    • View mode
      • Edit mode
      • View mode
      • Book mode
      • Slide mode
      Edit mode View mode Book mode Slide mode
    • Note Permission
    • Read
      • Owners
      • Signed-in users
      • Everyone
      Owners Signed-in users Everyone
    • Write
      • Owners
      • Signed-in users
      • Everyone
      Owners Signed-in users Everyone
    • More (Comment, Invitee)
    • Publishing
    • Commenting Enable
      Disabled Forbidden Owners Signed-in users Everyone
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Invitee
    • No invitee
    • Options
    • Versions and GitLab Sync
    • Transfer ownership
    • Delete this note
    • Template
    • Insert from template
    • Export
    • Google Drive Export to Google Drive
    • Import
    • Google Drive Import from Google Drive
    • Gist
    • Clipboard
    • Download
    • Markdown
    • HTML
    • Raw HTML
Menu Sharing Help
Menu
Options
Versions and GitLab Sync Transfer ownership Delete this note
Export
Google Drive Export to Google Drive
Import
Google Drive Import from Google Drive Gist Clipboard
Download
Markdown HTML Raw HTML
Back
Sharing
Sharing Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Note Permission
Read
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Write
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
More (Comment, Invitee)
Publishing
More (Comment, Invitee)
Commenting Enable
Disabled Forbidden Owners Signed-in users Everyone
Permission
Owners
  • Forbidden
  • Owners
  • Signed-in users
  • Everyone
Invitee
No invitee
   owned this note    owned this note      
Published Linked with GitLab
Like BookmarkBookmarked
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
# 資料傳輸節點 請使用 支援 sftp 協定的相關工具,連線至晶創主機的檔案傳輸節點,Linux/UNIX 用戶建議使用 sftp 指令來傳輸檔案 ; Windows 用戶建議使 Filezilla 請使用用戶端軟體來傳輸檔案。 ## LINUX/UNIX 用戶 ::::spoiler 使用 MobaXterm 的 sftp示範如何連線至資料傳輸節點 :::success 使用 MobaXterm 的 sftp示範如何連線至資料傳輸節點: 1. 輸入指令sftp <unix_account>@nano5.nchc.org.tw:2222。 或是 sftp <unix_account>@140.110.148.5:2222。 註:必須先輸入iService 主機帳號(<unix_account>)才會出現雙因子認證的提示訊息。 ![](https://man.twcc.ai/_uploads/BksR5mhGxx.png) 2. “Login method”:輸入1~3任一選項,選擇雙因子認證方式。 ![](https://man.twcc.ai/_uploads/r1e2Ay2fxg.png) 3. “Password”:輸入iService主機帳號密碼。會進到你的家目錄底下。 ![](https://man.twcc.ai/_uploads/SyAWh7nzxg.png) 4. 圖形介面右側是晶創主機的資料,可以將您要的檔案點擊拖拉到左邊你的本地端,及完成傳輸檔案。 ::: :::: ::::spoiler sftp 指令搭配參數的範例如下: :::success 使用 sftp 指令示範如何連線至資料傳輸節點: 1. 輸入指令sftp <unix_account>@nano5.nchc.org.tw。 註:如未輸入<unix_account>(iServcie主機帳號),將會以您終端機的用戶名稱連線,若您終端機的用戶名稱與主機帳號不同,有可能出現錯誤。 ``` [user@localhost ~]$ sftp <unix_account>@nano5.nchc.org.tw ``` 2. “Login method”:輸入1~3任一選項,選擇雙因子認證方式。 3. “Password”:輸入iService主機帳號密碼。會進到你的家目錄底下。 ``` (<unix_account>@nano5.nchc.org.tw) Please select the 2FA login method. 1. Mobile APP OTP 2. Mobile APP PUSH 3. Email OTP Login method: 2 (<unix_account>@nano5.nchc.org.tw) Password: xxx Connected to 140.110.148.5. sftp> ``` 4. 確認要上傳/下載的檔案路徑,執行sftp指令 a.將檔案下載將檔案下載至本機的當前目錄 ``` sftp> get Hello.c Fetching /home/<unix_account>/Hello.c to Hello.c Hello.c 100% 325 2.1KB/s 00:00 sftp> ``` b.將檔案上傳至伺服器的當前目錄 ``` sftp> put run.sh Uploading run.sh to /home/<unix_account>/run.sh run.sh 100% 754 263.7KB/s 00:00 sftp> ``` sftp 指令搭配參數的範例如下: <table> <tr> <td>指令</td> <td>解釋</td> </tr> <tr> <td>sftp> ?</td> <td>列出sftp所有指令</td> </tr> <tr> <td>sftp> ls</td> <td>列出伺服器的當前目錄</td> </tr> <tr> <td>sftp> get <remote path <br>of directory or file></br></td> <td>將檔案下載至本機的當前目錄</td> </tr> <tr> <td>sftp> put <local path <br>of directory or file></td> <td>將檔案上傳至伺服器的當前目錄 可搭配使用選項: <br>-p保存修改的時間、讀取的時間、原始檔案的類型</br> -r複製個目錄 (含子目錄)</td> </tr> <tr> <td>sftp> quit </td> <td>離開 sftp</td> </tr> <tr> <td>sftp> cd <path> </td> <td>更改遠端目錄至<path></td> </tr> <tr> <td>sftp> pwd</td> <td>顯示遠端當前工作目錄</td> </tr> <tr> <td>sftp> lcd <path></td> <td> 更改本機目錄至<path></td> </tr> <tr> <td>sftp> lpwd </td> <td>顯示主機當前工作目錄</td> </tr> </table> ::: :::: ## 微軟 WINDOWS 用戶 ::::spoiler WinSCP示範如何連線至資料傳輸節點 :::success 以下使用 WinSCP示範如何連線至資料傳輸節點: 1. “主機名稱” 輸入資料傳輸節點IP “nano5.nchc.org.tw” 或是 “140.110.148.5” 。 2. “Port” 輸入 “2222”。 3. “使用者名稱”輸入iService 主機帳號(<unix_account>)。 註:如未輸入<unix_account>(iServcie主機帳號),將會以您終端機的用戶名稱連線,若您終端機的用戶名稱與主機帳號不同,有可能出現錯誤。 4. “密碼” 輸入iService主機密碼。 ![](https://man.twcc.ai/_uploads/HyZzCX2feg.png) 5. “Login method”輸入1~3任一選項,選擇雙因子認證方式。 ![](https://man.twcc.ai/_uploads/HJ6fCXnMel.png) 6. 完成雙因子認證後,即可連線至資料傳輸節點。 圖形介面右側是晶創主機的資料,可以將您要的檔案點擊拖拉到左邊你的本地端,及完成傳輸檔案。 ![](https://man.twcc.ai/_uploads/HJV7CX2zgl.png) ::: :::: <!-- ::::spoiler scp指令示範如何上傳檔案至資料傳輸節點 :::success scp指令示範如何上傳檔案至資料傳輸節點: 1. 輸入指令scp <file> <unix_account>@140.110.148.8:<remote path>。 <font color="red">註:必須先輸入iService 主機帳號(<unix_account>)才會出現雙因子認證的提示訊息。</font> 2. “Login method”:輸入1~3任一選項,選擇雙因子認證方式。 ● “Password”:輸入iService主機帳號密碼。 ● 完成雙因子認證後,等待scp傳輸完成。 ![](https://man.twcc.ai/_uploads/H1dEzLOGJl.png) 指令scp可搭配使用的參數: ● -p:保存修改的時間、讀取的時間、原始檔案的類型。 ● -r:複製整個目錄(含子目錄)。 ::: :::: -->

Import from clipboard

Advanced permission required

Your current role can only read. Ask the system administrator to acquire write and comment permission.

This team is disabled

Sorry, this team is disabled. You can't edit this note.

This note is locked

Sorry, only owner can edit this note.

Reach the limit

Sorry, you've reached the max length this note can be.
Please reduce the content or divide it to more notes, thank you!

Import from Gist

Import from Snippet

or

Export to Snippet

Are you sure?

Do you really want to delete this note?
All users will lost their connection.

Create a note from template

Create a note from template

Oops...
This template has been removed or transferred.


Upgrade

All
  • All
  • Team
No template.

Create a template


Upgrade

Delete template

Do you really want to delete this template?

This page need refresh

You have an incompatible client version.
Refresh to update.
New version available!
See releases notes here
Refresh to enjoy new features.
Your user state has changed.
Refresh to load new user state.

Sign in

Sign in via SAML

Help

  • English
  • 中文
  • 日本語

Documents

Tutorials

Book Mode Tutorial

Slide Example

YAML Metadata

Resources

Releases

Blog

Policy

Terms

Privacy

Cheatsheet

Syntax Example Reference
# Header Header 基本排版
- Unordered List
  • Unordered List
1. Ordered List
  1. Ordered List
- [ ] Todo List
  • Todo List
> Blockquote
Blockquote
**Bold font** Bold font
*Italics font* Italics font
~~Strikethrough~~ Strikethrough
19^th^ 19th
H~2~O H2O
++Inserted text++ Inserted text
==Marked text== Marked text
[link text](https:// "title") Link
![image alt](https:// "title") Image
`Code` Code 在筆記中貼入程式碼
```javascript
var i = 0;
```
var i = 0;
:smile: :smile: Emoji list
{%youtube youtube_id %} Externals
$L^aT_eX$ LaTeX
:::info
This is a alert area.
:::

This is a alert area.

Versions

Versions and GitLab Sync

Sign in to link this note to GitLab Learn more
This note is not linked with GitLab Learn more
 
Add badge Pull Push GitLab Link Settings
Upgrade now

Version named by    

More Less
  • Edit
  • Delete

Note content is identical to the latest version.
Compare with
    Choose a version
    No search result
    Version not found

Feedback

Submission failed, please try again

Thanks for your support.

On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

Please give us some advice and help us improve HackMD.

 

Thanks for your feedback

Remove version name

Do you want to remove this version name and description?

Transfer ownership

Transfer to
    Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

      Link with GitLab

      Please authorize HackMD on GitLab

      Please sign in to GitLab and authorize HackMD to access your projects. Learn more

       Sign in to GitLab

      Push the note to GitLab Push to GitLab Pull a file from GitLab

        Authorize again
       

      Choose which file to push to

      Select repo
      Refresh
      Select branch
      Select file
      Select branch
      Choose version(s) to push
      • Save a new version and push
      • Choose from existing versions
      Available push count

      Upgrade

      Pull from GitLab

       
      File from GitLab
      File from HackMD

      GitLab Link Settings

      File linked

      Linked by
      File path
      Last synced branch
      Available push count

      Upgrade

      Danger Zone

      Unlink
      You will no longer receive notification when GitLab file changes after unlink.

      Syncing

      Push failed

      Push successfully