Question
I need screenshots of every step please
Case Projects Case Project 7-1: Use SSH in Ubuntu In this project, you learn to use SSH in Ubuntu. Using the Ubuntu VMs you created in the case projects in Chapters 2 and 3, follow the steps to use SSH. Using the VM that has Ubuntu Server installed, do the following: 1. Start the VM and log on 2. SSH is included in Ubuntu Server but is not installed. Enter this command to install and start SSH: sudo apt-get install ssh 3. Enter the command ifconfig and write down the IP address of the Ubuntu Server VM. Using the VM that has Ubuntu Desktop installed, do the following: 4. Start the VM and log on. Ubuntu Desktop launches. 5. Open a shell prompt. To do that, do one of the following o Click the search icon in the upper-left corner of the screen and then click Terminal in the list that appears. o Click the search icon, type gnome terminal in the search box, and press Enter o Press CTRL+ALT+T 6. Using the shell prompt, enter the command ifconfig and note the IP address of the Ubuntu Desktop VM. 7. Enter the ssh command with the IP address of the Ubuntu Server VM. For example, if the server IP address is 192.168.1.147, enter this command ssh 192.168.1.147 8. Enter your password on the server to log on to the server using SSH. You now have an SSH session established between the Ubuntu Desktop VM and the Ubuntu Server VM
media%2F064%2F06491ce3-9032-4072-a923-09
0 0
Add a comment Improve this question Transcribed image text
Answer #1

These are some commands to login from one server to another server.

1. First we are logging into Admin user.

admin 9909 jack Libvirt Qemu sarv ubuntu 17.04

2. Now installing ssh command. If this command do not run successfully then try apt-get -f install . This installs dependencies.

O admin@linux: ~ admin@linux: sudo apt-get install ssh sudo: unable to resolve host linux.admin: Resource temporarily unavail

3. Now we are going to run ifconfig command to know the ip address (marked as red), please make sure that you don't share your ipv6 (inet6) as it is your public ip. (It hidden here behind white strip).

admin@linux: $ ifconfig enp1s0: flags-4099<UP, BROADCAST,MULTICAST> mtu 1500 ether f4:30:b9:ca:52:55 txqueuelen 1000 (Etherne

4.Now we are logging on another user abhi.

abhi

5. Now open terminal

令 D(2:53, 50%) 40 10:21 AM teminal A Applications Filter results Terminal

6. Now run ifconfig to know the ip address of abhi.

[abhi@admin 1s ifconfig etho: flags 4163 <UP, BROADCAST, RUNNING, MULTICAST> mtu 1500 inet 192.168.122.143 netmask 255.255.25

7.Now we are logging on admin from abhi, here we also have to define user name on which we want login # ssh [email protected]

[abhi@server ssh admin@192.168.43.165 The authenticity of host 192.168.43.165 (192.168.43.165) cant be established. ECDSA

8. Enter password of admin and we have logged in to admin server.

[abhi@server 1 ssh admin@192.168.43.165 The authenticity of host 192.168.43.165 (192.168.43.165) cant be established. ECDS

9. dir command is used to show file directories.

admin@linux: $ dir Desktop Documents Downloads examples.desktop Music Pictures Public Templates Videos

10. Now if we run ifconfig command then we will get the ip address of admin server as we have logged in on that.

admin@linux: $ ifconfig enp1s0: flags-4099<UP, BROADCAST,MULTICAST> mtu 1500 ether f4:30:b9:ca:52:55 txqueuelen 1000 (Etherne

11. exit command is used to logout from server. Here we will be logged out from admin.

admin@linux: $ exit logout Connection to 192.168.43.165 closed. [abhi@server]

12. sudo poweroff is used to shutdown the virtual machine.

[abhi@server -1$ sudo poweroff

Add a comment
Know the answer?
Add Answer to:
I need screenshots of every step please Case Projects Case Project 7-1: Use SSH in Ubuntu...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 1. IPv6 is already installed in Windows 7/8/10. For Windows XP, if there is no IPv6 setting, at t...

    1. IPv6 is already installed in Windows 7/8/10. For Windows XP, if there is no IPv6 setting, at the command prompt type netsh interface ipv6 install and press ENTER. Netsh is not a CLI command in Mac OS, skip this step for Mac. 2 At the command prompt type netsh interface ipv6 show address and press ENTER. Record the IPv6 address for Local Area Connection (or Wireless Network Connection if you are using WiFi). For Mac OS, type ifconig -a....

  • . Long on to a PC with the administrator account, or an account that has administrator privilege....

    . Long on to a PC with the administrator account, or an account that has administrator privilege. Please take a note of your system information and location where you perform the lab. Open the command prompt. For Windows 10, type cmd in Cortona. For Windows XP. choose Start à Run, and type cmd in the Open field. For Windows 7, click on Start, enter cmd in "Search program and file, and choose "cmd.exe from search result. For Windows 8 press...

  • Project 4-3: In the following steps, you will learn more about the PING (Packet Internet Grouper)...

    Project 4-3: In the following steps, you will learn more about the PING (Packet Internet Grouper) utility, which can be used on a network running IPv4 to verify that TCP/IP is configured correctly and communicating with the network. A ping test is typically the first thing network professionals try when troubleshooting a TCP/IP connection problem. For this project, you can use any type of workstation that's running TCP/IPv4, preferably one connected to the Internet. The output described in the following...

  • Please do everything as said is simple but need help with it. Part 1: Spark Setup...

    Please do everything as said is simple but need help with it. Part 1: Spark Setup In this exercise you will setup a Ubuntu virtual machine and install Spark on it. Download and install virtual box and ubuntu from the following sites as we did in the class. https://www.virtualbox.org/wiki/Downloads https://www.ubuntu.com/download/desktop Once the installation is complete you will need to install latest version of java. Issue the following commands sudo apt-get update sudo apt-get install default-jre after installation is done check...

  • Description: In this assignment, you will be launching a denial of service attack on a web...

    Description: In this assignment, you will be launching a denial of service attack on a web server. We will be using hping3, a command-line oriented network security tool inside Kali Linux (an advanced penetration testing Linux distribution). Setting up the victim machine Download the Windows XP virtual machine with WebGoat server installed, using the following link. We will use this machine as the victim machine and launch a DoS attack on the WebGoat server.https://drive.google.com/open?id=0BwCbaZv8DevUejBPWlNHREFVc2s Open the victim machine and launch...

  • computer networks help please !!! could someone help with the following tasks! ANY HELP WILL BE...

    computer networks help please !!! could someone help with the following tasks! ANY HELP WILL BE IMMENSELY APPRECIATED! THANKS. Task 1 In the following scenario, we would like to find out more information about a host that is on out network. Given an IP address we would like to search for additional information, we can start with obtaining the IP address off the default route. When running on a Linux VM, this like most likely to be the internal IP...

  • please give me clear picture Section 1: DNS nslookup The Domain Name System (DNS) translates hostnames...

    please give me clear picture Section 1: DNS nslookup The Domain Name System (DNS) translates hostnames to IP addresses, fulfilling a critical role in the Internet infrastructure. In this lab, we’ll take a closer look at the client side of DNS. Recall that the client’s role in the DNS is relatively simple – a client sends a query to its local DNS server, and receives a response back. Much can go on “under the covers,” invisible to the DNS clients,...

  • need help with this assignment, please. Part 1 - Java program named MemoryCalculator In your Ubuntu...

    need help with this assignment, please. Part 1 - Java program named MemoryCalculator In your Ubuntu VM (virtual machine), using terminal mode ONLY, do the following: Create the folder program2 In this folder place the text file located on my faculty website in Module 2 called RAMerrors (Do not rename this file, it has no extension.) It is down below. Ths is the file RAMErrors 3CDAEFFAD ABCDEFABC 7A0EDF301 1A00D0000 Each record in this file represents the location of an error...

  • I am getting the Segmentation fault error on the Ubuntu machine but not on macOS. Any...

    I am getting the Segmentation fault error on the Ubuntu machine but not on macOS. Any help would be appreciated. /**** main.c ****/ #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <time.h> #include <unistd.h> #include <pthread.h> #include <string.h> #define WORD_LEN 6 #define TOP 10 char * delim = "\"\'.“”‘’?:;-,—*($%)! \t\n\x0A\r"; struct Word { char word[30]; int freq; }; int threadCount; int fileDescriptor; int fileSize; off_t chunk; struct Word* wordArray; int arrIndex = 0; pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER;...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT