How is the difference between ftp and sftp ? and explain
how to create ftp server and sftp server with example ?
Answers were Sorted based on User's Feedback
Answer / reddy
ftp means file transfer protocol sftp means not a secure file transfer protocol we r using ssh for transfaring file is called sftp
in ftp we directly send data to other system .
in sftp we r using encrypted data
in ftp for send we r using 21 port
in sftp for send we r using 22 port
| Is This Answer Correct ? | 26 Yes | 4 No |
FTP file transfer happens via 2 channel. command channel and data channel. where command channel responsible for user,pass ,quit and it will be active still sessions active. Other process like data transfer and receive will happen via data channel. No encryption and it can be decoded and readable via global network.
In SFTP, it uses secure shell for this process and both command and data transfer happens on same encrypted cipher method. Due to this it is secure.
| Is This Answer Correct ? | 6 Yes | 0 No |
What is the other method of installing Linux O.S other than Text, GUI mode? Why we prefer that for installation of Linux in Real time?
As a system admin i want to know some things what are the troubleshooting issues we are facing frequently and what are the tickets will be raised.
What command can you use to review boot messages?
How to give 2 different gateway IP addresses for 2 different interfaces in same system ?
What is the difference between home directory and working directory?
How can you see all mounted drives?
what is kernel panic error ? how will you fix it if you have face it after rebooting without the the help of rescue disk ?
how do i check which package has installed some command suppose ls , mkdir or whatever ???
rpm package installation error in centos 6.4 [root@localhost packages6.4]# rpm -ivh nfs-utils-1.2.3-36.el6.i686.rpm warning: nfs-utils-1.2.3-36.el6.i686.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY error: Failed dependencies: keyutils >= 1.4-4 is needed by nfs-utils-1:1.2.3-36.el6.i686 libevent is needed by nfs-utils-1:1.2.3-36.el6.i686 libevent-1.4.so.2 is needed by nfs-utils-1:1.2.3-36.el6.i686 libgssglue is needed by nfs-utils-1:1.2.3-36.el6.i686 libgssglue.so.1 is needed by nfs-utils-1:1.2.3-36.el6.i686 libgssglue.so.1(libgssapi_CITI_2) is needed by nfs-utils-1:1.2.3-36.el6.i686 libnfsidmap.so.0 is needed by nfs-utils-1:1.2.3-36.el6.i686 libtirpc is needed by nfs-utils-1:1.2.3-36.el6.i686 libtirpc.so.1 is needed by nfs-utils-1:1.2.3-36.el6.i686 nfs-utils-lib >= 1.1.0-3 is needed by nfs-utils-1:1.2.3-36.el6.i686 rpcbind is needed by nfs-utils-1:1.2.3-36.el6.i686
How to recover a deleted file in linux ?
How to sort a file of size 2N bytes, if I have N bytes of memory?
What is the difference between semaphore and spinlock?