SlideShare a Scribd company logo
Linux-Networking

Install ssh in Ubuntu server
 ssh is a remote protocol used in
Linux and Unix system.
 ssh stands for Secure shell, which
means it provides an encrypted data
transfer between a client and server.
 This is an improvement to the old
remote protocol such as rlogin, telnet
and ftp.

1
Linux-Networking

Install ssh in Ubuntu server
 In Ubuntu, ssh package can be found
in three initial packages, which are:
 openssh-server - contains ssh, scp
and sftp server.
 openssh-client contains ssh, scp and
sftp clients.
 metapackage - a portable ssh server
and ssh client package.

2
Linux-Networking

Install ssh in Ubuntu server
 how to install ssh package in Ubuntu
server 8.10 for beginner.
1. First, you have to check whether ssh
package has been installed in your
Ubuntu server system.
2. We can use dpkg command to list
installation package like the
screenshot below:

3
Linux-Networking

Install ssh in Ubuntu server

4
Linux-Networking

Install ssh in Ubuntu server

5
Linux-Networking

Install ssh in Ubuntu server
 We are going to install ssh package in
Ubuntu server through the Internet
using apt package management
system.
1. you need to check whether apt
package has been install in your
ubuntu server or not:

6
Linux-Networking

Install ssh in Ubuntu server

7
Linux-Networking

Install ssh in Ubuntu server

8
Linux-Networking

Install ssh in Ubuntu server
 Install ssh package with apt-get
command syntax(format) is sudo
apt-get install ssh.
1. When apt-get have the package and
ready to install, it will prompt us for
confirmation. Answer yes to
continue, or no if you prefer other
ssh package. Here is the screenshot:

9
Linux-Networking

Install ssh in Ubuntu server

10
Linux-Networking

Install ssh in Ubuntu server

11
Linux-Networking

Install ssh in Ubuntu server
 The ssh package installation is in
progress:

12
Linux-Networking

Install ssh in Ubuntu server


The ssh package installation is in progress:

13
Linux-Networking

Install ssh in Ubuntu server
 The ssh package installation is finish:

14
Linux-Networking

Install ssh in Ubuntu server
 The ssh package installation is finish:

15
Linux-Networking

Install ssh in Ubuntu server
 We can check ssh package installation
once again with dpkg command to
verify:

16
Linux-Networking

Install ssh in Ubuntu server

17
Linux-Networking

Install ssh in Ubuntu server
 Check whether ssh daemon (service) is
running with ps command like the
screenshot example below. If there is no
ssh daemon running, you can start ssh
with sudo /etc/init.d/ssh start
command

18
Linux-Networking

Install ssh in Ubuntu server

19
Linux-Networking

Install ssh in Ubuntu server
 When ssh daemon is running, you can
try ssh to your Ubuntu server from
client. Below are screenshot examples
of accessing ssh server.

20
Linux-Networking

Install ssh in Ubuntu server
 Accessing Ubuntu server using ssh from
Slackware Linux command line
terminal:
luzar@slackware:~$ ssh -l 192.168.0.47
usage: ssh [-1246AaCfgKkMNnqsTtVvXxY] [-b bind_address] [-c
cipher_spec]
[-D [bind_address:]port] [-e escape_char] [-F configfile]
[-i identity_file] [-L [bind_address:]port:host:hostport]
[-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
[-R [bind_address:]port:host:hostport] [-S ctl_path]
[-w local_tun[:remote_tun]] [user@]hostname [command]
luzar@slackware:~$ ssh -l luzar 192.168.0.47
luzar@192.168.0.47's password:
Linux ubuntu 2.6.27-14-server #1 SMP Wed Apr 15 19:44:38 UTC 2009
i686

21
Linux-Networking

Install ssh in Ubuntu server
The programs included with the Ubuntu system are free
software;
the exact distribution terms for each program are described
in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by
applicable law.
To access official Ubuntu documentation, please visit:
http://help.ubuntu.com/
Last login: Wed Jun 24 04:49:59 2009 from 192.168.0.133
luzar@ubuntu:~$

22
Linux-Networking

Install ssh in Ubuntu server
 The first ssh command in the example
above shows ssh usage help message.
 This happens if we enter the wrong ssh
syntax. When we get the command right
such as in the second ssh command
example, we'll be prompted for the user
account password.
 Enter correct user account password and
we'll gain access into the Ubuntu server.

23
Linux-Networking

Install ssh in Ubuntu server
 We can also access Ubuntu server from
Windows operating system using ssh by
the help of a program called Putty.
 You'll find this kind of warning when you
first connecting into ssh server.

24
Linux-Networking

Install ssh in Ubuntu server
 This is an example screenshot of
successful login into your ssh server:

25
Linux-Networking

Install ssh in Ubuntu server

26
Linux-Networking

27
Linux-Networking

Install ssh in Ubuntu server
 That's all.
 Remember that ssh is a better choice if
you are going to connect remotely to
your server.

28

More Related Content

PDF
IPTables Lab
PDF
Configuration of Smtp Server On CentOS 8
PDF
Configuration IPTables On CentOS 8
PDF
Configuration of BIND DNS Server On CentOS 8
PDF
CentOS Server Gui Initial Configuration
DOCX
How to set up ssh keys on ubuntu
PDF
CentOS Server CLI Configuration (Nmcli & Hosts)
PDF
Firewalld LAB
IPTables Lab
Configuration of Smtp Server On CentOS 8
Configuration IPTables On CentOS 8
Configuration of BIND DNS Server On CentOS 8
CentOS Server Gui Initial Configuration
How to set up ssh keys on ubuntu
CentOS Server CLI Configuration (Nmcli & Hosts)
Firewalld LAB

What's hot (20)

PPTX
Rasperry pi Part 12
PDF
Configuration of SFTP Server on CentOS 8.pdf
PDF
Configuration Firewalld On CentOS 8
TXT
PPT
PDF
Openvpn
PDF
PPTX
Linux Commands
PPTX
Presentación1
PDF
บล๊อกเวปไซท์ บน Open WRT หรือ บน Ubiquiti NanoStation M5 หรือ บน airOS
DOC
Virtual boxen
PPTX
Setting up SSH
PDF
EMSC1515104 Shehansuhail
PPTX
Setting up telnet
PDF
Configuration of NTP Server on CentOS 8
PDF
PPTX
Logging remotely open ssh
PDF
PDF
Ftp configuration in rhel7
Rasperry pi Part 12
Configuration of SFTP Server on CentOS 8.pdf
Configuration Firewalld On CentOS 8
Openvpn
Linux Commands
Presentación1
บล๊อกเวปไซท์ บน Open WRT หรือ บน Ubiquiti NanoStation M5 หรือ บน airOS
Virtual boxen
Setting up SSH
EMSC1515104 Shehansuhail
Setting up telnet
Configuration of NTP Server on CentOS 8
Logging remotely open ssh
Ftp configuration in rhel7
Ad

Viewers also liked (20)

PPT
Configuration DHCP
PPTX
Presentation on samba server
PPTX
Dhcp ppt
PPT
Mysql
PPT
Diva23
DOCX
Samba server installation and File sharing
PDF
Análise de Tráfego da Rede Utilizando o Wireshark
PPTX
Pendahuluan - Materi 1 - TBO
PPTX
2015 01 19_administrasi_server_pertemuan_3
PPTX
Context Free Grammar 1 - Materi 6 - TBO
PPS
Linux10 sendmail
PPTX
Konsepsentral - Materi 2 - TBO
PPTX
Context Free Grammar (CFG) Bagian 2 - Materi 7 - TBO
PPTX
Pumping Lemma-rl - Materi 5 - TBO
PPT
server_ppt
PPTX
Pushdown Automata - Materi 8 - TBO
PPTX
Finite State Automata - Materi 3 - TBO
PPTX
Error Handling - P 7 Teknik Kompilasi
Configuration DHCP
Presentation on samba server
Dhcp ppt
Mysql
Diva23
Samba server installation and File sharing
Análise de Tráfego da Rede Utilizando o Wireshark
Pendahuluan - Materi 1 - TBO
2015 01 19_administrasi_server_pertemuan_3
Context Free Grammar 1 - Materi 6 - TBO
Linux10 sendmail
Konsepsentral - Materi 2 - TBO
Context Free Grammar (CFG) Bagian 2 - Materi 7 - TBO
Pumping Lemma-rl - Materi 5 - TBO
server_ppt
Pushdown Automata - Materi 8 - TBO
Finite State Automata - Materi 3 - TBO
Error Handling - P 7 Teknik Kompilasi
Ad

Similar to Linux02 install SSh (20)

PDF
How To Install and Configure Open SSH Server on Ubuntu
PPTX
Telnet & SSH Configuration
PDF
How to install Setup & Configure SSH Jump Server on a Linux box
PDF
Simran_Kaur
PPTX
Lecture6_Linux network for students .pptx
PDF
SSH vs SSL The Key Difference for Secure GPU Server and More.pdf
PDF
Ubuntu server-904 membuat-server_dengan_ubuntu
PDF
21.01.2014 - Ubuntu server 13.04
PDF
Ubuntu server12 04_guide
PDF
SSH.pdf
PDF
Guia de Ubuntu Server en Inglés
PDF
How to install and configure firewall on ubuntu os
PDF
Serverguide ubuntu11.10
DOCX
Creating a firewall in UBUNTU
PDF
Serverguide
PDF
Serverguide 14.04
PDF
08.03.2015-Ubuntu Server Guide 14.04
ODP
Why choose ubuntu server
PDF
0696-ssh-the-secure-shell.pdf
PDF
An introduction to SSH
How To Install and Configure Open SSH Server on Ubuntu
Telnet & SSH Configuration
How to install Setup & Configure SSH Jump Server on a Linux box
Simran_Kaur
Lecture6_Linux network for students .pptx
SSH vs SSL The Key Difference for Secure GPU Server and More.pdf
Ubuntu server-904 membuat-server_dengan_ubuntu
21.01.2014 - Ubuntu server 13.04
Ubuntu server12 04_guide
SSH.pdf
Guia de Ubuntu Server en Inglés
How to install and configure firewall on ubuntu os
Serverguide ubuntu11.10
Creating a firewall in UBUNTU
Serverguide
Serverguide 14.04
08.03.2015-Ubuntu Server Guide 14.04
Why choose ubuntu server
0696-ssh-the-secure-shell.pdf
An introduction to SSH

More from Jainul Musani (20)

PDF
Core Java Interface Concepts for BCA Studetns
PDF
Java Abstract and Final Class for BCA students
PDF
Java Collection Framework for BCA Students
PDF
Simple Calculator using JavaFx a part of Advance Java
PDF
JavaFx Introduction, Basic JavaFx Architecture
PDF
ASP.NET 2010, WebServices Full Example for BCA Students
PDF
Palindrome Programme in PHP for BCA students
PDF
Leap Year Program in PHP for BCA students
PDF
"PHP and MySQL CRUD Operations for Student Management System"
PDF
Python: The Versatile Programming Language - Introduction
PPTX
Python a Versatile Programming Language - Introduction
PDF
React js t8 - inlinecss
PDF
React js t7 - forms-events
PDF
React js t6 -lifecycle
PDF
React js t5 - state
PDF
React js t4 - components
PDF
React js t3 - es6
PDF
React js t2 - jsx
PDF
React js t1 - introduction
PPTX
ExpressJs Session01
Core Java Interface Concepts for BCA Studetns
Java Abstract and Final Class for BCA students
Java Collection Framework for BCA Students
Simple Calculator using JavaFx a part of Advance Java
JavaFx Introduction, Basic JavaFx Architecture
ASP.NET 2010, WebServices Full Example for BCA Students
Palindrome Programme in PHP for BCA students
Leap Year Program in PHP for BCA students
"PHP and MySQL CRUD Operations for Student Management System"
Python: The Versatile Programming Language - Introduction
Python a Versatile Programming Language - Introduction
React js t8 - inlinecss
React js t7 - forms-events
React js t6 -lifecycle
React js t5 - state
React js t4 - components
React js t3 - es6
React js t2 - jsx
React js t1 - introduction
ExpressJs Session01

Recently uploaded (20)

PPTX
Lesson notes of climatology university.
PDF
Classroom Observation Tools for Teachers
PPTX
Cell Structure & Organelles in detailed.
PPTX
Pharma ospi slides which help in ospi learning
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
GDM (1) (1).pptx small presentation for students
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
A systematic review of self-coping strategies used by university students to ...
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
Lesson notes of climatology university.
Classroom Observation Tools for Teachers
Cell Structure & Organelles in detailed.
Pharma ospi slides which help in ospi learning
O7-L3 Supply Chain Operations - ICLT Program
2.FourierTransform-ShortQuestionswithAnswers.pdf
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
Final Presentation General Medicine 03-08-2024.pptx
GDM (1) (1).pptx small presentation for students
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
102 student loan defaulters named and shamed – Is someone you know on the list?
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
A systematic review of self-coping strategies used by university students to ...
human mycosis Human fungal infections are called human mycosis..pptx

Linux02 install SSh

  • 1. Linux-Networking Install ssh in Ubuntu server  ssh is a remote protocol used in Linux and Unix system.  ssh stands for Secure shell, which means it provides an encrypted data transfer between a client and server.  This is an improvement to the old remote protocol such as rlogin, telnet and ftp. 1
  • 2. Linux-Networking Install ssh in Ubuntu server  In Ubuntu, ssh package can be found in three initial packages, which are:  openssh-server - contains ssh, scp and sftp server.  openssh-client contains ssh, scp and sftp clients.  metapackage - a portable ssh server and ssh client package. 2
  • 3. Linux-Networking Install ssh in Ubuntu server  how to install ssh package in Ubuntu server 8.10 for beginner. 1. First, you have to check whether ssh package has been installed in your Ubuntu server system. 2. We can use dpkg command to list installation package like the screenshot below: 3
  • 6. Linux-Networking Install ssh in Ubuntu server  We are going to install ssh package in Ubuntu server through the Internet using apt package management system. 1. you need to check whether apt package has been install in your ubuntu server or not: 6
  • 9. Linux-Networking Install ssh in Ubuntu server  Install ssh package with apt-get command syntax(format) is sudo apt-get install ssh. 1. When apt-get have the package and ready to install, it will prompt us for confirmation. Answer yes to continue, or no if you prefer other ssh package. Here is the screenshot: 9
  • 12. Linux-Networking Install ssh in Ubuntu server  The ssh package installation is in progress: 12
  • 13. Linux-Networking Install ssh in Ubuntu server  The ssh package installation is in progress: 13
  • 14. Linux-Networking Install ssh in Ubuntu server  The ssh package installation is finish: 14
  • 15. Linux-Networking Install ssh in Ubuntu server  The ssh package installation is finish: 15
  • 16. Linux-Networking Install ssh in Ubuntu server  We can check ssh package installation once again with dpkg command to verify: 16
  • 18. Linux-Networking Install ssh in Ubuntu server  Check whether ssh daemon (service) is running with ps command like the screenshot example below. If there is no ssh daemon running, you can start ssh with sudo /etc/init.d/ssh start command 18
  • 20. Linux-Networking Install ssh in Ubuntu server  When ssh daemon is running, you can try ssh to your Ubuntu server from client. Below are screenshot examples of accessing ssh server. 20
  • 21. Linux-Networking Install ssh in Ubuntu server  Accessing Ubuntu server using ssh from Slackware Linux command line terminal: luzar@slackware:~$ ssh -l 192.168.0.47 usage: ssh [-1246AaCfgKkMNnqsTtVvXxY] [-b bind_address] [-c cipher_spec] [-D [bind_address:]port] [-e escape_char] [-F configfile] [-i identity_file] [-L [bind_address:]port:host:hostport] [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port] [-R [bind_address:]port:host:hostport] [-S ctl_path] [-w local_tun[:remote_tun]] [user@]hostname [command] luzar@slackware:~$ ssh -l luzar 192.168.0.47 luzar@192.168.0.47's password: Linux ubuntu 2.6.27-14-server #1 SMP Wed Apr 15 19:44:38 UTC 2009 i686 21
  • 22. Linux-Networking Install ssh in Ubuntu server The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To access official Ubuntu documentation, please visit: http://help.ubuntu.com/ Last login: Wed Jun 24 04:49:59 2009 from 192.168.0.133 luzar@ubuntu:~$ 22
  • 23. Linux-Networking Install ssh in Ubuntu server  The first ssh command in the example above shows ssh usage help message.  This happens if we enter the wrong ssh syntax. When we get the command right such as in the second ssh command example, we'll be prompted for the user account password.  Enter correct user account password and we'll gain access into the Ubuntu server. 23
  • 24. Linux-Networking Install ssh in Ubuntu server  We can also access Ubuntu server from Windows operating system using ssh by the help of a program called Putty.  You'll find this kind of warning when you first connecting into ssh server. 24
  • 25. Linux-Networking Install ssh in Ubuntu server  This is an example screenshot of successful login into your ssh server: 25
  • 28. Linux-Networking Install ssh in Ubuntu server  That's all.  Remember that ssh is a better choice if you are going to connect remotely to your server. 28