#login
6 one-liners with this tag.
All one-liners tagged login
Copy your public SSH key to a server
$ssh-copy-id -i ~/.ssh/id_ed25519_server.pub -p 22 webuser@server.example.com
Generate a one-time login link for Plesk
#plesk login
Open the MySQL console as Plesk admin
#plesk db
Show recent server logins with IP address
$last -i | head -30
Show successful SSH logins from the journal
#journalctl -u ssh --since "7 days ago" --no-pager | grep 'Accepted'
Use the Plesk MySQL admin in scripts and one-liners
#MYSQL_PWD=$(cat /etc/psa/.psa.shadow) mysql -u admin -e 'SHOW DATABASES;'