skip to Main Content

I am new to linux so please go easy and talk slow =)

In Plesk I have some options for accessing the server over SSH. I just want to connect, add my public key and run rsync for backup.

  1. What is the difference between these options?
  2. Which option should I choose?
  3. What are these? They look like directories to me.

Access to the server over SSH:

  • /bin/sh
  • /bin/bash
  • /sbin/nologin
  • /bin/tcsh
  • /bin/csh
  • /bin/ksh
  • /bin/bash (chrooted)
  • /bin/rbash

Here is an image of the Plesk control panel:

enter image description here

3

Answers


  1. Most of options are various Unix shells. A shell is basically what interprets the text that you type in the window. Some people prefer one shell over others. If you are not familiar with any shell in particular, pick one based on your needs Comparison Chart

    Login or Signup to reply.
  2. If you don’t know, you should use /bin/bash. It’s the most popular, and will be the easiest for you to get help using. That said, they all do the same thing, just in slightly different ways.

    Login or Signup to reply.
  3. Use /bin/bash

    What are these? They look like directories to me.

    These are different options for default shell given to users who connect via SSH

    If you haven’t used any of these shells before, I think bash is the best option for you. Most tutorials and articles for linux commands online assume you are using bash.

    However, you have two options for bash: /bin/bash and /bin/bash (chrooted).

    To do backups, you will probably need the bash to have full access to execute all commands.
    I’m not sure whether you can get what you want done with a chrooted bash.

    Basically, chrooted bash is for avoiding mishaps.

    To know more about chrooting, you can read this article

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search