How To Setup VSCode on Windows for Remote SSH Development

Поделиться
HTML-код
  • Опубликовано: 16 авг 2023
  • We're going to setup and use VSCode on our Windows machine for remote SSH development.
    Commands:
    ssh-keygen -t ed25519
    ssh USERNAME@SERVER
    ip -br -4 addr
    ssh-copy-id USERNAME@IP_ADDRESS
    scp ~/.ssh/id_ed25519 ~/.ssh/id_ed25519.pub USERNAME@SERVER:~/.ssh/
    git clone git@github.com:eyolfson/hello-world-c.git
    git config --global user.name "Your Full Name"
    git config --global user.email your@email.com
    git config --global init.defaultBranch main
    git config --global pull.rebase false
    git config --global alias.lol "log --pretty=oneline --abbrev-commit --graph --decorate"
    sudo update-alternatives --set cc /usr/bin/clang
    meson setup build
    meson compile -C build
    build/hello-world

Комментарии • 2

  • @TimB33
    @TimB33 2 месяца назад

    ssh-copy-id: The term 'ssh-copy-id' is not recognized as a name of a cmdlet

    • @eyolfson
      @eyolfson  2 месяца назад +1

      It should be installed and usable in "Git Bash", not the built-in command line.