Sunday, October 21, 2018

How to Connect ssh in ubuntu linux.

 


Connect Cpanel using ssh in Ubuntu linux :-
 
  1. Create ssh key 
  2. Authorize key
  3. Download id_rsa.pub file
  4.  Put this file at your system where ever you want. In my case i always prefer Desktop
  5. Open your Terminal 
  6. Open Folder where have you put id_rsa.pub file like
     ntf-22@NTF-22:/$ cd home/ntf-22/Desktop/ 
  
   7) Now You will see like this            

     ntf-22@NTF-22:~/Desktop$   
  
  8) Here you have entered in Desktop folder
    9) connect ssh using pub file
    ntf-22@NTF-22:~/Desktop$ ssh -i id_rsa abcdistr@abcdistributionusa.com  


10) Connect SSH when specific port is define  
   ssh -p 2222 abcpanam@162.241.224.18  
   ntf-22@NTF-22:~$ ssh -i id_rsa.pub -p 2222 abcpanam@abcpanamainc.com 

 
 The main ssh Connect command is (ssh -i <name_of_pub _file> username@domain)  
  In my case pub fille
  name is = id_rsa
  Username = abcdistr
  Domain = abcdistributionusa.com
 
 eg.
 10) Enter Cpanel password
   abcdistr@abcdistributionusa.com's password:  
 
  11) you will see like this   
   Last login: Fri Dec 15 09:39:53 2017 from 115.166.142.238  
   [abcdistr@server ~]$  
  
  12) You have successfully access using ssh but if you get ssh enable error then consult with  help and support they will enable ssh for your account. :)

No comments:
Write comments