yuuma
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # Teratermを用いたtsubameのログイン方法(Windows11) ## Teratermのインストール - TeratermはV4とV5が存在するが、どちらを用いても良い。(V5の方が新しい) - インストールは[窓の杜](https://forest.watch.impress.co.jp/library/software/utf8teraterm/)からできます。 ## SSHキーの作成とupload - 僕はed25519形式の鍵を作成しました。(一番推奨されている形式?) - 今後のためにもed25519で作ることに慣れたほうがいいかも - 鍵の長さもrsa形式よりも短いので扱いやすい - 多分rsa形式でも良い? ### WindowsでSSHキーの作成方法 ed25519形式の鍵を作る場合はターミナルで ``` ssh-keygen -t ed25519 ``` を実行するだけ。その後エンターを何回かおして(パスフレーズの設定はしなくても良い) ```= Generating public/private ed25519 key pair. Enter file in which to save the key (C:\Users\yuuma/.ssh/id_ed25519): ここでエンターを押す Enter passphrase (empty for no passphrase): ここでエンターを押す Enter same passphrase again: ここでエンターを押す Your identification has been saved in C:\Users\yuuma/.ssh/id_ed25519 Your public key has been saved in C:\Users\yuuma/.ssh/id_ed25519.pub The key fingerprint is: SHA256:b07jTN81fgsLHOjykPfPOZfj/xQOLnOhLWph8Z+Bc84 yuuma@yuuma_note The key's randomart image is: +--[ED25519 256]--+ | | | | | | | .. | | S.o..o . | | o+.+=o+ .| | +.oBB*=oo+| | =OooBE=*o| | .o+.o==+O| +----[SHA256]-----+ ``` が出たら作成成功 ### SSHキーの確認と公開鍵、秘密鍵について - キーの生成時にエンターだけを押しているなら ``` C:\Users\yuuma/.ssh/id_ed25519 C:\Users\yuuma/.ssh/id_ed25519.pub ``` というファイルが作成される。 - つまり、`Users\yuuma\.ssh`のファイル内に`id_ed25519`と`id_ed25519.pub`が作成されているはず。 - __id_ed25519.pub__ が公開鍵である。公開鍵(鍵穴がついたドアと例えられる)はだれに見られても問題ないもので、これをtsubame側にアップロードする。 - __id_ed25519__ が秘密鍵である。これは合鍵のようなもので、他人に知られてはいけないファイル。 ### 公開鍵のtsubameへのアップロード方法 - 東工大ポータルのTSUBAME ポータルにアクセスする。 ![chrome_MY55kldyYM](https://hackmd.io/_uploads/HJaXubuL6.png) - SSH公開鍵登録の中に、SSH公開鍵ファイルをアップロードする場所がるので、ファイルを選択してアップロードする。 - id_ed25519.pubというものを選択する。(.sshファイルがない場合は、隠しフォルダを表示する設定が必要(エクスプローラーからできる)) - __この際に.pubで終わるファイルを選択していることを必ず確認すること__ ![chrome_pD1OTDrt0a](https://hackmd.io/_uploads/r18Cdb_8T.png) - 左上の利用者権限にあるアカウントが学籍番号となっていることを確認。アカウントが表示されない場合は初期設定が必要? ![chrome_0TkQF3r2Tm](https://hackmd.io/_uploads/B1-OKWOLT.png) ## tsubameへのログイン - teratermを開き、ホスト(T):に`22B01234@login.t3.gsic.titech.ac.jp`を打って、他はいじらずにOKをおす。22B01234は自分の学籍番号に置き換えること。 - 最初のログインでは、セキュリティ警告がでてくるので、サーバ側のホスト鍵指紋でSHA256を選択し、「このホストをknown hostsリストに追加する」を選択する ![ttermpro_nTzBvHZUuc](https://hackmd.io/_uploads/HJwdjSFUa.png) - SSH認証の画面が開き、ユーザー名に自分の学籍番号が入っているはず。 - パスフレーズは空のままで良い。 - 認証方式の欄で、RSA/DSA/ECDSA/ED25519鍵を使うを選択し、秘密鍵のファイルパスを指定。右にある「...」を押してファイルを選択できる。 - OKを押したらログインできる ![ttermpro_kj0C1XCamV](https://hackmd.io/_uploads/rkTcjHKLp.png) - ログイン画面が表示される ![ttermpro_QGiXskpoCy](https://hackmd.io/_uploads/rk0YiZdUa.png) - これはログインノードと呼ばれる場所であり、使用できるメモリが4GBまでという制限があるため、高負荷なプログラムは実行できない。 - コンパイルしてプログラムを実行できるが、10分以上動き続けているプログラムは自動的に停止される。 - 参考:[2. 利用開始にあたって](https://helpdesk.t3.gsic.titech.ac.jp/manuals/handbook.ja/start/) ## tsubameにファイルを送ったり、ダウンロードする方法 [Teratermでコマンドを使わず簡単にファイル転送する方法](https://glodia.jp/blog/9669/)を参照。 - tsubameにアップロードするのは画面にドラッグアンドドロップするだけでOK。 - tsubameからのダウンロードは少しめんどくさい(パスの指定が毎回必要) ## gnuplotをtsubameで使う方法 [Teraterm(SSH)からGnuplot表示](https://qiita.com/hawk777/items/27ea0cddf4b41a4fc43e)を参考 - Teratermだけで完結させる方法 - Teratermの設定→端末で、自動切換え(VT - TEK)にチェックを入れる - Gnuplotを起動した直後に`gnuplot > set terminal vttek`を入力する。 - X Serverにフォワーディングする方法もある - そもそもtsubameではgnuplotを使わずに、Windowsマシンにtsubameの結果をダウンロードして可視化

    Import from clipboard

    Paste your markdown or webpage here...

    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 lose 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?
    Turn this template into a regular note and keep its content, versions, and comments.

    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

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    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 and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    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 GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

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

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

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

        Syncing

        Push failed

        Push successfully