Home  >  Q&A  >  body text

windows-server - How to log in to the Linux environment if I have a Linux node IP, username and password?

I wrote a python small program. Since my own computer is a windows system, the teacher gave me a node to try under the Linux system to see if the program can run. Currently we have IP, user and password. I would like to ask what this node is? How can I enter the Linux environment on my own computer if I have an IP, username and password?
I searched online for how to remotely log in to Linux using windows, and also downloaded software such as xshell, but when I entered the IP address, it showed that I could not connect.
Thanks.

给我你的怀抱给我你的怀抱2680 days ago1299

reply all(2)I'll reply

  • 天蓬老师

    天蓬老师2017-05-27 17:46:40

    A node means a host, which is no different from a windows.
    You can use xshell to link to linux.

    Required: 1. IP address, 2. User, 3. Password, 4. SSH service port number.

    If git-bash is installed, you can use:

    $ssh -p[端口] [用户]@[ip地址]

    reply
    0
  • 高洛峰

    高洛峰2017-05-27 17:46:40

    First of all, you need to know that there are many ways to log in to Linux remotely. The most commonly used one is SSH. To log in to a Linux server through SSH, you need to know the following information, all of which are indispensable. I noticed that you did not mention SSH in your description. Port, you can check with your teacher for this:

    • IP

    • SSH port

    • Username

    • Password
      After confirming the above information, you can start trying to log in remotely. There are many kinds of SSH remote login tools (also called terminal emulators) available under Windows. The most commonly used ones are SecureCRT, Xshell and putty, the first two support uploading and downloading files in one software, it is recommended to download the first two.

    Before connecting, confirm whether the server IP can communicate

    1. First use the cmd tool under windows to ping the IP of this node to see if it can be reached

    2. If you can’t access it, ask your teacher if you need to access it in a specific network environment or use a VPN

    3. If it works, you can try to log in to the server using a terminal emulator

    reply
    0
  • Cancelreply