You'd be able to run some shell commands; jailshell would limit the commands that you could run.
"Next with the keys."
I'm guessing that you want to automate the connection to your VPS via ssh.
To begin setting this up, you need to create an SSH key pair, which consists of public and private key files named id_rsa and id_rsa.pub, respectively.
The public key is copied to the remote system and placed in the $HOME/.ssh/authorized_keys file. Some systems may use the filename authorized_keys2 in addition to or instead of authorized_keys.
This allows any user in possession of the private key to authenticate without a password. Create the key pair using the command ssh-keygen. The files are placed in the proper locations automatically on the local system in the $HOME/.ssh directory.
Below are all the steps required :
$ cd $HOME
$ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/computervitals/.ssh/id_rsa): <ENTER>
Enter passphrase (empty for no passphrase): <ENTER>
Enter same passphrase again: <ENTER>
Your identification has been saved in /home/computervitals/.ssh/id_rsa.
Your public key has been saved in /home/computervitals/.ssh/id_rsa.pub.
The key fingerprint is:
The public key is copied to your VPS and placed in the $HOME/.ssh/authorized_keys file:
$ cat .ssh/id_rsa.pub >> your_VPS_home/.ssh/authorized_keys
$ chmod 600 your_VPS_home/.ssh/authorized_keys
In the above example, you create the key pair with an empty passphrase, then append the public key to the authorized_keys file in your VPS home directory and set the permissions. After this is done, you no longer need to type the password when connecting to your VPS remote account.