The usage of OpenSSH

The usage of OpenSSH


Recently, someone are supposed to use university VPN to connect with Jupyterhub. But there is a desperate sentence that For Windows users, open PowerShell if you are Window 10 1803 or newer, else you should use other ssh tools. For me, unfortunately I am an outlier. So with teacher’s suggestion, I focus on other ssh tool called OpenSSH. Here is some tips you may need.

Tips for user of OpenSSH

  1. First, you should install OpenSSH software. But you cannot install it from official website directly, because it’s hard to find the download file. If you try to search “OpenSSH download for Windows”, you will get an zip file, including plenty of .nsi files, which are absolutely inconvenient. For user-friendly, I provide an official website with an executable .exe file. Click here.

  2. Next, click .exe file to start your download. OpenSSH_download_and_Usage_1.png

  3. And then, follow the graphical instructions to install OpenSSH.
    OpenSSH_download_and_Usage_2.png

    OpenSSH_download_and_Usage_3.png

    • remember: unclick “Server” Option, or you are supposed to change the features of Server later, which is unnecessary here.
      OpenSSH_download_and_Usage_4.png

    OpenSSH_download_and_Usage_5.png

    OpenSSH_download_and_Usage_6.png

  4. Until now, you have installed OpenSSH successfully. Next, press win + R and input cmd to run Command Prompt as administrator

  5. Now, you are going to work on the connection. Input ssh -N -L localhost:8888:localhost:8080 ws**********@172.16.240.253 (Remember: replace to your own student ID) OpenSSH_download_and_Usage_7.png

  6. For the first connection, you will be asked to keep connection or not. Just input yes. OpenSSH_download_and_Usage_8.png

  7. Input ssh -N -L localhost:8888:localhost:8080 [email protected] again and enter the initial password 000000, then press Enter. OpenSSH_download_and_Usage_9.png

  8. And then change your password as soon as possible. Like this: OpenSSH_download_and_Usage_12.png

  9. Next, visualize to you browser. In the address bar, input localhost:8888 and press Enter. You will get the following: OpenSSH_download_and_Usage_10.png

  10. Here is a successful page. OpenSSH_download_and_Usage_13.png

  11. Finally, you can follow other instructions provide in this link

Thank you for your reading! Hopefully, it can help you.

猜你喜欢

转载自blog.csdn.net/Moses_SU/article/details/127569692
今日推荐