-1
votes
1answer
71 views

ssh argument command not passed

Doing this command: iptables -I INPUT -d xxx.xxx.xxx.xxx -p tcp --dport 80 -m string --to 70 \ --algo bm --string 'GET /w00tw00t.at.ISC.SANS.' -j DROP I got this error on ssh console: "bad argument ...
0
votes
3answers
128 views

How to check the number of requests being served by server

Can any one help with the command to check the number of requests being served by apache web server. I know some commands to test the load of server, like top command to check the load on server and ...
9
votes
2answers
9k views

How to check if a RSA public / private key pair matched

I have two files, id_rsa and id_rsa.pub, what command can be used to validate if they are the valid pair.
2
votes
5answers
2k views

How to log commands/logins in linux?

I'm feeling that some people are using the root, how i can log all commands and connections times including ips made to the server (ssh) from all users? history command is not enough
2
votes
3answers
2k views

Can a malicious user bypass a ssh authorized_keys forced command?

Using Linux and Openssh: A user can connect using ssh to a server on which his key is in the authorized_keys list. His public key is preceded by command="command..." which forces execution of a ...
2
votes
3answers
1k views

Giving PHP the permission to make a git pull request

I would like to allow PHP to execute a Git pull command. But there are some problems with the user and permissions. How did you solve the problem? PHP runs as user www-data. Therefore I've changed ...
0
votes
1answer
659 views

ssh into remote machine and execute parallel copy operation to network drive

Hi I have a remote machine that has a mounted network drive. I am trying to create a script that ask me for the name of folder I wish to copy, ssh into the remote machine and have it start the copy ...