Installing OpenSSHServer in Ubuntu is very easy. You only need one command: sudoapt-getinstallopenssh-server. Later, Ubuntu automatically downloads and installs opensshserver, and solve all dependencies together. After completing this operation, you can find another computer and then use an SSH client (PuTTy is strongly recommended) to enter the IP address of your server. If
Installing OpenSSH Server in Ubuntu is very easy. Only one command is required:
Sudo apt-get install openssh-server
Later, Ubuntu automatically downloads and installs openssh server, and resolves all dependencies. After completing this operation, you can find another computer and then use an SSH client (PuTTy is strongly recommended) to enter the IP address of your server. If everything is normal, you can connect later. You can log on with the existing user name and password.
Run the following command on the Ubuntu terminal:
Ssh localhost
If the following error occurs, it is likely that the ssh-server has not been installed:
Ssh: connect to host localhost port 22: Connection refused
Install SSH-server:
Sudo apt-get update
Sudo apt-get install openssh-server openssh-client
Start SSH-Server
Sudo/etc/init. d/ssh start