SSH Configuration 01
SSH Configuration 01
Objective:
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 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.