0% found this document useful (0 votes)
11 views

SSH Configuration 01

ssh

Uploaded by

05230128.jnec
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views

SSH Configuration 01

ssh

Uploaded by

05230128.jnec
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

SSH CONFIGURATION

SANGAY CHHOPHEY (05230128)


Lab: SSH configuration

Objective:

• Install and configure a Linux-based operating system.


• Showcase the steps to enable secure shell (SSH) access.
• Set up and configure the SSH server for remote connections.
Requirements:

• Ensure the Ubuntu server has internet connectivity.


• Install the necessary packages on the server using the command openssh-server.
• Open an SSH connection locally from the host machine to access the server remotely.
Steps:

1. To To verify that the server has an internet connection, attempt to ping the IP address
8.8.8.8. If the ping fails, switch the network connection type to NAT or bridge mode and
ensure that the "cable connected" option is enabled to establish an internet connection.

2. Next, install some essential packages for the server by typing the following
command: `apt install`.

1
Installing the package, we can check the status by typing the command

Check the status of the SSH service by typing `systemctl status ssh`. If the status shows as
inactive, start the SSH server by entering `systemctl start ssh`, followed by `systemctl enable
ssh`. If the status is active, then the SSH service is ready to go.

Now shutdown the machine.

Now we can design a network by selecting a client window (host machine), server (ubuntu),a
router, switch and a IPS in GNS3.

2
To start with the configuration, we must assign the Ip address for the server and client device
statically.

3
4
Configure Remote Access with SSH

Steps:

1. Type the following command in the window comment prompt to connect remote
server with command ssh username@ip address

2. Now to check if we can read, write, or create a file in this remote server, first we must
create a file in server and open locally from the window shell.

3. The ssh configuration is successful.

You might also like