diaryniang / ovz-web-panel

Automatically exported from code.google.com/p/ovz-web-panel
Other
0 stars 0 forks source link

install / add physical servers with enhanced SSH Options (public/private ssh key auth, use other user than root, etc.) #259

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Reason:
Many sshd servers are configured in a way they will not accept root logins over 
SSH, or they only allow authentication with public/private keys.

Description:
For such a case it will be neccessary to have more options in the "Add physical 
Server" Dialog in the Web Panel.

Original issue reported on code.google.com by fritz...@gmail.com on 28 Feb 2011 at 5:28

GoogleCodeExporter commented 9 years ago
I want to keep this dialog simple. If its possible you can use panel to install 
daemon via ssh. If not you can do it manually by yourself. Or you can temporary 
enable root access. I don't think that adding auth via ssh keys is really 
necessary.

Probably ssh login field can be a good addition. Filled with "root" string by 
default. If one typed other word than root, then need to install daemon using 
sudo. This should cover most of cases.

Original comment by sibprogrammer on 1 Mar 2011 at 3:41

GoogleCodeExporter commented 9 years ago
Yep, i think that would cover the most use cases. Since SSH is looking anyways 
for keys first and uses them even when a user name is provided.
I have tried it exactly as you described. I changed (hardcoded) the user name 
to 'maint' and added a sudo to the command. On the Physical Server i configured 
sudo to not ask for a password in that case.

Could you please add a guide to the wiki how to install the daemon only on a 
physical server?

Original comment by fritz...@gmail.com on 1 Mar 2011 at 3:48

GoogleCodeExporter commented 9 years ago
See 
http://code.google.com/p/ovz-web-panel/wiki/Installation#Manual_Installation_of_
The_Build

Original comment by sibprogrammer on 2 Mar 2011 at 5:08

GoogleCodeExporter commented 9 years ago

Original comment by sibprogrammer on 9 Mar 2011 at 4:40

GoogleCodeExporter commented 9 years ago

Original comment by sibprogrammer on 30 Apr 2012 at 5:24