Eric's picture

Web Shell vs Webmin command shell

I'm installing TK PostgreSQL v. 18.0.  I have a set of instructions that I've used to install earlier versions with no issues.  There is a point at which I run "ssh_keygen -t rsa" to generate files "id_rsa" and id_rsa.pub".  I usually run the command from Web Shell but since that's no longer available I ran the command from Webmin command shell.  It starts to run and stops at "Enter file in which to save the key (/root.ssh/id_rsa):". Then it returns to the command prompt without continuing or generating the keys.

Is Webmin command shell incapable of performing the same as Web Shell?

Additionally, I used PuTTy to ssh into the server and run the command to generate the keys after which Webmin command shell now responds to the ssh-keygen command. With:

root@postgresql ~]# ssh-keygen -f rsa
Enter passphrase (empty for no passphrase): Enter same passphrase again: Generating public/private rsa key pair.
Your identification has been saved in rsa
Your public key has been saved in rsa.pub
The key fingerprint is:
SHA256:3zz7KF5Cw4b7I78wK0d4/Cw0KiqJt8wyBL40 root@postgresql
The key's randomart image is:
+---[RSA 3072]----+
|       .         |
|      . .        |
|       + .       |
| .  . . Bo       |
|.... . +SB=      |
|o+..  o *=++     |
|E.+              |
|..+o  . o=+o +   |
| . oo  o.+=+o..  |
+----[SHA256]-----+

What's going on here?

Forum: