MINI PROJECT

MINI PROJECT

Name: TAN YU ZHE

Matric number:192020356

Date :16 April 2021



Part 1 - Troubleshooting bad connections 

1. First let's make sure the connection is really down by pinging a known external address. I will use my blogspot website here, so my command would be: ping yz72blog.blogspot.com. Then it will output like this.



















If can output like this then can proceed to part 2. Skip step 4-18 is just for the one who ping failed.


Part 2 - Copying files to another machine-FTP and SCP 

FTP

1) Run the following command: ftp 10.12.135.214







2) Run command 'ls -la' in terminal, it will output a list of command and data channel.
















3) Run command 'pwd' then '!pwd and !ls'.After that, run 'lcd /tmp'.







4) Run command 'put f1.txt' and 'put f5.txt' then 'quit'.







SCP

1) Run 'scp f1.txt User@192.168.43.94:/D:/ ' to copy file to windows from linux.


2) Run 'scp User@192.168.43.94:/D:/f5.txt /tmp' copy file to linux from windows.


Part 3 - Logging into another machine - Telnet and Secure Shell

Telnet
1) Run 'telnet 192.168.43.94'


2) Then output 'dir' , it will output these file.














Secure shell(SSH)

1) Type 'ssh User@192.168.43.94', first time login to this will output and ask 'Are you sure you want to continue connecting?' all we need to do is Type 'Yes'.





2) Then type 'ssh User@192.168.43.94 '. It will output this.




































        
                        ************************LAB 5 END HERE**************************



Comments

Popular Posts