Monday, November 9, 2020

how to install ssh server in ubuntu-Linux

Install SSH Server

SSH or Secure Shell is a cryptographic network protocol for operating network services securely over an unsecured network. Typical applications include remote command-line, login, and remote command execution, but any network service can be secured with SSH

Note:- By Default Port No Is 22


$ sudo apt update

$ sudo apt-get install openssh-server

$ sudo service sshd status

$ sudo ufw allow ssh

SSH COMMANDS:---

$ ssh -p 22 ubuntu@192.168.20.20

  • -p means port number.

$ /etc/ssh/sshd_config

  • sshd_config is configuration file of ssh server.

No comments:

Post a Comment

testing