SSHFS is no longer maintained what can be used for alternative in this situation. Look at this Project GVfs from Gnome.
gio mount ssh://IP/
gio mount -u ssh://
I want to use this script to run with Ansible. My requirements were to read the maximum connections in mysql server. Also I want to write the output from mysql client in to a file.
You can use
mysql -e "show status like 'max_used_connections';"
Or you can use
show variables like 'max_connections';
show status like 'max_used_connections';
Logging to file '/tmp/mysql_max.txt'
You can use following script to open programs on the right screen
If you want to import a MySQL dump in to your MySQL server 5.7 and you got following error
The 'INFORMATION_SCHEMA.SESSION_VARIABLES' feature is disabled; see the documentation for 'show_compatibility_56'
Login in to your mysql root console and send this command to your mysql server
SHOW VARIABLES LIKE '%compatibility%';
| Variable_name | Value |
| show_compatibility_56 | ON |
1 row in set (0.00 sec)
Create a file under /etc/apache2/conf-enabled with following content
Header Set X-Robots-Tag “noindex, nofollow, noarchive, nosnippet”
Check your config with wget –server-response –spider example.com
sometimes you got an error with ssh-agent mykey
Could not open a connection to your authentication agent.
then try this
exec ssh-agent bash
ssh firstname.lastname@example.org -p 1500
Look here for more infos
You need not really administrator rights to restart a service.
You can find here many options for that
In this post on stackoverflow I found a very simple solution to do that.
This little tool are called Service Security Editor and works very well.