SSH Into a Python Script (Modify sshd_config with ForceCommand)

Поделиться
HTML-код
  • Опубликовано: 20 янв 2023
  • In this video you are going to how to set up a computer as an ssh server and then serve different Python scripts to different users who log in via ssh. You can also give the user who logs in shell access.
    How SSH Works
    SSH is a protocol that allows secure remote login and other secure network services over an insecure network.
    SSH uses public-key cryptography to authenticate the remote computer and to establish a secure encrypted connection.
    SSH client and server perform a handshake to establish the connection, agree on encryption algorithms and the server authenticates itself to the client using its host key.
    The client authenticates itself to the server using a username and password, or a set of authentication keys.
    #ssh, #python, #linux
    🌟🔗 𝗦𝗘𝗖𝗢𝗡𝗗 𝗖𝗛𝗔𝗡𝗡𝗘𝗟 (Coding with GPT) 🔗🌟
    👉 / @codingwithgpt
    📱 𝗦𝗢𝗖𝗜𝗔𝗟 🌐
    🐦 Twitter: / sanjindedic
    🔧 Github: github.com/Sanjin84
    🔗 LinkedIn: / sanjin-dedic
    💻 𝗖𝗢𝗗𝗘 𝗥𝗘𝗣𝗢𝗦 🎯
    1️⃣ WebQuiz (Front End): github.com/Sanjin84/WebQuiz
    2️⃣ WebQuizAPI (Back End): github.com/Sanjin84/WebQuizAPI
    3️⃣ findmyfile (Python Package): github.com/Sanjin84/findmyfile
    🌍 𝗪𝗘𝗕𝗦𝗜𝗧𝗘𝗦 🖥️
    1️⃣ GoPrompt: goprompt.io
    2️⃣ AITrivia: sanjin84.github.io/AITrivia/
    Sanjin Dedic is a highly qualified and experienced robotics engineer and educator, with over a decade of teaching experience in the field of digital technologies. He has co-authored a book on the micro:bit titled "From Go to Whoa with Physical Tech," and has developed numerous teacher professional development programs in Python, including an Australian Teacher Guide to Object Oriented Programming that received a Google grant in 2021. In addition to his extensive experience in the field of education and technology, Dedic has also recently expanded his expertise by completing professional cybersecurity qualifications and organizing a statewide Capture the Flag event for the Victorian Coding Challenge during the COVID lockdowns.
  • НаукаНаука

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

  • @juicebox9279
    @juicebox9279 Год назад

    very cool! also first :)

  • @bluesdog88
    @bluesdog88 6 месяцев назад

    ssh and sshd are related but different files. ssh is the client program that allows you to connect to a remote server using the Secure Shell protocol. sshd is the server program that listens for incoming connections and authenticates the clients. You can use ssh to access another computer securely over an untrusted network, and you can configure sshd to allow or deny access to your own computer from other machines

  • @codewithsub5083
    @codewithsub5083 11 месяцев назад

    Great but how to do both things.
    Excute some script on ssh login and continue to ssh session instead of closing session