SSH access with Putty

Rating

Putty is an open source Linux program for accessing the server. Something like Filezilla, but with Linux code. It requires SSH access. With Putty, you can use Composer. Composer is essential for Drupal 8.

Beside Putty you can use FireSSH (Firefox), Secure Shell Extention (Chrome) or Terminal (Mac). Terminal users log in with (ssh username@yourdomainname.extentie).

Every hosting has his own rules about SSH. Sometimes you need to ask the support of the hosting to give you SSH access (Vimmex). They will do it without any problem. Some hostings do not provide ant SSH access at all... Inform yourself before you install a Drupal 8!!!

With a Neostrada hosting you can do it yourself. Go to the Control Panel en click on SSH Access.

Drupal8_002018.png

Click onĀ  Manage SSH Keys.


Drupal8_002019.png

Generate a New Key.


Drupal8_002020.png

Choose a pasword.


Drupal8_002021.png

Done. You see the keys now.
Drupal8_002022.png

Now you need a program to access the server. Putty is popular.. Install.

Drupal8_002016.png

Fill in your hostname and port (see the FAQ of the hosting for that)


Drupal8_002017.png

In my case.
Drupal8_002023.png

They ask if the key has to be stored..

Now you can log in, using your CP username and password. You don't need the SSH key.

When writing the password, nothing will appear.. Just continue..

When you type dir (=directories) you will see all the folders and files. If you want to go to a folder type cd. To return type cd ../

Drupal8_002025.png

Go to the public_html map: 'cd public_html'. Composer is already installed, during the Drupal 8 installation! Try the list command. If you see all of the commands you are in the right folder. Don't be dissapointed.. You only need a few commands to set up your Drupal 8. The most important will be require.


Drupal8_002026.png