Task 1
Task 1
Task 1
SSH in Ubuntu
i. To install it, open terminal (Ctrl+Alt+T) or log in Ubuntu server and run command:
sudo apt-get install openssh-server
ii. After that, you should have SSH service enabled in your system, you may check its status
by running command:
sudo service ssh status
iii. You may change some settings (e.g., the listening port, and root login permission) by
editing the configuration file via command:
sudo nano /etc/ssh/sshd_config
iv. Finally apply the changes by restarting or reloading SSH:
sudo service ssh restart
2. Task 2.
To download the copssh free edition and install it on your computer
Download PUTTY application and open on your computer
R1(config)#
*Mar 1 0:3:38.367: %SSH-5-ENABLED: SSH 1.99 has been enabled
R1(config)#do show ip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES unset administratively down down
FastEthernet0/1 unassigned YES unset administratively down down
Vlan1 unassigned YES unset administratively down down
R1(config)#interface fa0/0
R1(config-if)#ip address 172.16.0.1 255.255.0.0
R1(config-if)#no shutdown
show that you can SSH into the Cisco switch by using the SSH client from a window machine
steps:
a) Click Open to begin the SSH connection with the switch.
b) If this is your first time using SSH to connect to the switch, you may receive a Security
Breach Warning. This warning lets you know that it is possible that you are connecting
to another computer pretending to be the switch. Once you have ensured you entered the
correct ip address in the Host Name field in Step 3, click Yes to update the rsa2 key to
include the new switch
c) Enter the name you wish to log in with when you are prompted to do so.
d) Enter the user name and password to connect to the device when prompted to do so. The
default user name is cisco and the default password is cisco.
Step 1: We will use localhost for our machine to setup ftp server.