how to connect server using linux terminal?

24,503

If you have SSH installed on your server, you can connect very easily. Use the below command skeleton to sign-on through a terminal.

ssh [email protected]

If you're using SSH keys, ensure that you have them in your ~/.ssh folder. You may need to register them. Otherwise, the system will ask you for your password upon login.

To get more information about SSH and the command, type man ssh into your terminal.

Share:
24,503

Related videos on Youtube

Kaz Wolfe
Author by

Kaz Wolfe

Hello. You showed up in my review queue. You will be reviewed and re-tagged if necessary. Failure to comply may result in harm. Yes, I am a wolf. Awoo. IT director for a warehousing company, doing networking, systems, and support. My languages of choice are Java and Python. One of the six people who actually like MongoDB. Self-declared cybersecurity expert. If you need me, swing by the AskUbuntu General Room or contact me on Discord. If you want to talk to me over e-mail for some reason, shoot a message to the below listed address. Please don't spam me. Notable Achievements Wrote WolfBot. And abandoned it. And then went back to working on it. And then archived it to go work on Discord chatbots Played video games Managed to nuke an entire Linux install, live. And then fix it, live. Reddit. Operate DIY Tech, a partnered Discord server. Honestly not much. I'm pretty boring. Contact Information PGP Key: 2588 13F5 3A16 EBB4 (Keybase Enabled) Discord: KazWolfe#2896 E-mail: (username)@linux.com

Updated on September 18, 2022

Comments

  • Kaz Wolfe
    Kaz Wolfe almost 2 years

    I am currently using PuTTY to connect to my Linux server. However, I feel like it is unnecessary. Is there a way for me to connect to my Linux server directly from my terminal?

    • Nick Weinberg
      Nick Weinberg about 8 years
      You want to learn how to use ssh. Try typing man ssh in a terminal, or search the internet for one of the many SSH tutorials available online.
    • gwarah
      gwarah about 8 years
      If you want to connect from other machine, you have to install ssh on server and access it from a ssh client installed in second the machine. See this article for more detail.
    • Jeremy Kerr
      Jeremy Kerr about 8 years
      Could you provide more detail on what you're trying to do?
    • Melebius
      Melebius about 8 years
      Do you mean cmd.exe by terminal? I am assuming Windows as you mentioned PuTTY.