Issue
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.
- What is the difference between these options?
- Which option should I choose?
- 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:
Solution
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
Answered By - rineez Answer Checked By - Timothy Miller (PHPFixing Admin)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.