Linux Class Nt1430

662 Words3 Pages
Steven Mccollum NT1430 7/21/2015 1. What is the difference between the scp and sftp utilities? Ans.— The SCP (secure copy) utility copies an ordinary or directory file from one system to another on a network SFTP is a secure FTP Client.\ 2. How can you use ssh to find out who is logged in on a remote system? Assuming you have the same username on both systems, the following command may prompt you for your password on the remote system and displays the output of who: ans.--$ ssh host who 3. How would you use scp to copy your ~/.bashrc file from the system named plum to the local system? Ans.-- Scp user@bravo:-r your@home:blank 4. How would you use ssh to run xterm on plum and show the display on the local system? Ans.--- the following command runs xterm on plum and presents the display on the local system: $ ssh plum xterm 5. What problem can enabling compression present when you are using ssh to run remote x applications on a local display? Ans.—in reality, it prevents your data from being lost by creating a backup feature. So that if your computer crashes, your data will be saved on a hard drive. 6. When you try to connect to another system using an Open SSH client and you see a message warning you that the remote host identification has changed, what has happened? What should you do? Ans.--- This message indicates that the fingerprint of the remote system is not the same as the local system remembers it. Check with the remote system’s administrator to find out if something changed. If everything seems to be in order, remove the remote system’s key from the file specified in the error message and try logging in on the remote system using ssh. You can use ssh-keygen with the –R option followed by the name of the remote system to remove hashed entries. 1. What is the difference between scp and sftp utilities? The SCP

More about Linux Class Nt1430

Open Document