Add user and enable SSH2 - can't log in
Here is the desired action/event.
I want to set up a new Centos Box as follows...
To log into shell require that a stand alone non-account user SSH2 into the box and su-. Direct root login not allowed, and password authentication not allowed. Must use public key. I want the stand alone user to be able to FTP as well.
I have been able to add the user and set a password
The user is able to FTP
The user can SSH into the box (on the alternate port) using password authentication when I have Password Authentication Tweak set to Enable Password Auth
HOWEVER I cannot get Public key configured correctly.
So far I have done these steps.
I tried the steps outlined at:
-
Well it seems the issue is that I was using an old version of SecureCRT that uses a proprietary file structure for the keypair. I downloaded the newest verison of SecureCRT, went through the process of setting up the user and keypair using the OpenSSH format and all worked well. So much for proprietary software! 0 -
Hi @PCZero I'm glad to see you were able to identify the cause of the issue and resolve it. Thanks for posting your findings here as well. P.S. I definitely don't think this is something that qualifies as anything but being justifiably concerned so I've modified the title of the thread :) 0
Please sign in to leave a comment.
Comments
2 comments