Page 1 of 1

about ssh key

Posted: Wed Jan 09, 2019 12:24 pm
by mego45
hello
i have vps storage i use it as image storage for my website
i use vestacp admin user to upload images by sftp
i need to setup ssh key for my vps but i need admin sftp still work without ssh key

how i can do that ??

i use centos 6 with my vps

thanks

Re: about ssh key

Posted: Tue Jan 15, 2019 1:26 pm
by skamasle
Hi

I not see any problem here, you can use SSH / SFTP in both ways, with password and with keys, if some body have a key it use key for login if not, password will be asked, inclued in same user

You can login as admin with keys and with password, off course in sshd_config not disable password authentication