FTP & STFP

FTP & STFP

File Transfer Protocol (FTP)

Default Port 21 (but usually change port no 20)

Windows Connectivity via Software  :- FileZilla,WinSCP (- now supports SFTP and FTP),Cyberduck, CrossFTP,  FlashFXP, CuteFTP, FireFTP,core ftp.

Windows Command :-  Putty.

Unix/Linux Connectivity Software:- FTP Nautilus(GNOME), FileZilla,CrossFTP, gFTP, FtpCube,FireFTP

Unix/Linux Connectivity  Command :- Commander,terminal.

Mac OS X Connectivity Software :- FileZilla,Yummy,Cyberduck,CrossFTP,Fetch,Transmit,Captain FTP,FireFTP.

Unix/Linux Connectivity  Command :- terminal

Web browser FTP support

If you’re using the Firefox web browser, it includes an excellent FTP plug-in available called “FireFTP“.

Additionally, all modern web browsers (Internet Explorer, Firefox, Opera, Chrome, and so on) include built-in FTP support as well that will do in a pinch. However, you would only be able to download content through the browser.

Telecommunication Network (Telnet)

Default  Port Telnet 23

Secure Shell (SSH)

user@user:~$  ( $ this is a user limited permission)

user@user:~#  ( # this is a root all access permission)

Ssh-keygen Two option First (2048 bit)  2nd (4096 bit) depend on server requirement  

    1.   $ ssh-keygen -t rsa -b 2048 -C “your_email@example.com”
    2.  $ ssh-keygen -t rsa -b 4096 -C “webexpertz.ntf@gmail.com”
    3. $ ssh-add ~/.ssh/id_rsa
    4. $ ssh-add -l
    5. $  ssh-keygen -lf ~/.ssh/id_rsa.pub

Check your Key Run this Command on your terminal

    1. $ cat ~/.ssh/id_rsa.pub (MOST IMPORTANT TO CHECK SSH KEY

              Then Show on terminal the answer

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDiD5byD/DF/gdrHKH7AaB7fXk27CHWQTqqXDDUzqxAPrB6tIno4E1b6Kl9j1yiwUStje9JXPqxja7g6WzoX1SsdEY2jwOIKs+6y4rYjfb/NpZZC41yB3aT82Ri96MKUTVnE/kHPjPFjEzzIasjulBfFidvnqa/uK1xbtNYtvxi2a3aN17OjNzh2/1jesl7r4hzHR43v5G958s4tSCXOaiUFKXh9MR0Ets43TQf1ZP0c3tcciULqa7bN+jVLjsoDR7Uu9FB4FlwRHsslPfoNJhXBEfk1TeyMZEpgl/QymTMwe+UEwonZOqdW/tgyRkltF7c9AdS1lrUXFRFE0nt+kAYEcKNdtdECv6ZU05uawp2ghnwZLPMScITj90V6NlQbLlZVLOSEE6++bnck7PmLmrzo1XxsU+7gjk9eFNNMjtVlq6qhFEZDME2nk5QlWf3PM/UW+3MNGylsaQNwqHgtf1oQ+M2yUZoXRpopFhcuqrxm9o9pIU+9E4UXYs9dE07WzorpFGjrT3rFqerRF8Elg2mkeQDw8fvAkvX21bvHovXaLHuRjCV0/yyEWfaJOGHH3mXodN09Sdi1QZ20dk8/JFucVac/PxvkKDHRe0o9axnhXhh3eJLCqtnz8lPBNHDCleB7C6oDWPoj/dffj+1wxqevtGk0qNRLhTYTpOmEXjZwQ== your email id.linuxguru@gmail.com

7)  ADD THIS SSH KEY IN YOUR GIT account->setting->ssh_key (new key) and paste this key.

$ ssh-keygen -t rsa -b 4096 -C "your_email@example.com"

Then add your pub key on (Cloud,server)

jeet:~$ ssh nmfscmsdemo.dev@free-7388.devcloud.hosting.acquia.com

But In Case client has been change SSH Port & use .pem file so how can connect ssh from your pc ,

     It’s simple  

jeet:~$ ssh  -i example.pem -p (port no) nmfscmsdemo.dev@free-7388.devcloud.hosting.acquia.com

Error

Agent admitted failure to sign using the key.

Permission denied (publickey).

Run this Command on your terminal

    • ssh-add

SSH Data Transfer 

    • scp  file path user name@Address:/var/www/html/File name (Local To Server)

Connect Server ssh then use this

    • scp file path name@Address:/File saving path/save file name (With Extension) (Server to Local)

Create Zip File on server then Download your local PC

    • $ sudo zip -r folder.zip folder path/* (Ex. user@user:/var/www/html$ sudo zip -r jeet.zip jeet/*)

1 thought on “FTP & STFP

Leave a Reply

Your email address will not be published. Required fields are marked *