I
I
ipokos2018-08-06 22:12:03
ISPmanager
ipokos, 2018-08-06 22:12:03

How to log in without a password?

connection to the server with pem key, by default the root user has no
password password set: sudo passwd root
When authorizing ISP "wrong password"

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
ISPsystem | Hosting Software, 2018-09-06
@ISPsystem_software

Hello!
Connecting to the server:
You will have two parts of the key. The first is private, the second is public.
You need to put the public one on the server in /root/.ssh/authorized_keys The private
one can be anywhere on your PC, for example, in /home/user/key
In this case, the connection will be made like this:
ssh -i /home/user/key [email protected]_ip
If everything is configured correctly on the server, then the connection will occur.
Connection to ISPmanager:
/usr/local/mgr5/sbin/mgrctl -m ispmgr session.newkey key=fdkhgkjhfdghjkhk4535
key - this is a unique key, you can specify any content, the main thing is without special characters and not very short.
Then in the browser use this link
https://IP:1500/ispmgr?func=auth&key=fdkhgkjhfdghj...
where key is the same key that was entered earlier . The
key works only once, each time you need to make a new one.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question