Wednesday, September 30, 2015

REMOTE ACCESS - 1

      REMOTE ACCESS INTERVIEW QUESTIONS AND ANSWERS 

                                            PAGE - 1



1..What is ssh?
Connecting to another machine on the Internet is a risky proposition. Some tools, like ftp and telnet, that provide access to another machine transmit the username and password in clear text

SSH is one such program. It's name is an acronym for “Secure SHell”. SSH has to run both on the machine you're using  and the machine you're connecting to  SSH runs on the remote machine just like any other Linux service, and is initiated by you on the client in order to connect to the remote machine

2..How to connect the remote system using ssh?
SSH (the server) must be running on the remote machine, and you need to know the IP address or URL of the remote machine. The remote machine needs to be able to accept requests on port 22, the port used by SSH.

3..How to use the public/private keys to connect  the remote  server?
Public key authentication involves a pair of related keys that in this situation take the form of text files. The public key sits on the remote machine while the private key resides on the local  machine. When the local machine connects to the remote box, the two keys are matched up by the remote machine. If they match correctly, the authentication passes and you are granted access.

4...How to create  public and private keys?

 ssh-keygen -t rsa

5..What is the use of  ftp?

The File Transfer Protocol (FTP) is a standard network protocol used to transfer computer files from one host to another host over a TCP-based network, such as the Internet

6..Explain  ssh client?
There are n number of ssh client programs: slogin, scp, and ssh. They each read the same configuration file, usually called /etc/openssh/ssh_config
  
7..How many types of the   file  available in  ftp?

There are two types of files. An ASCII file contains text; a binary file contains other kinds of information (such as graphics, audio recordings, or compressed text).

8..How to connect the ascii mode?
  
ftp> ascii
     
9..How to copy the particular file in ftp?
  
ftp> get source_name

10..How to see the list of files in ftp?

 ftp> ls

No comments: