Skip to content

Tag: linux

Gitlab avoid user login via SSH

When I create a user on Gitlab, it creates a regular user on linux and it can login using a regular SSH protocol with same password an user. How can I disable the SSH login using SSH to desired users? All my server is exposed to that users. Thank you Answer Edit the sshd_config file adding this line Read more…

Web Server/Web service written in C++ in Linux

The requirement is to have Linux machine without additional installations aka Java, apache tomcat/jboss, that will be able to serve as a web server and to accept web service request (I will have to write some web service in C++ that will serve under this web server). So, the question is if there is some C++ l…

gtkmm, how to set a tool bar?

I want to have my toolbar at the top of the window, not vertically expanding and I want the entry to expand horizontally. Here a code : main.cc I don’t understand what is the difference between expand and fill, there are two functions, set_hexpand() and set_vexpand() whatever I tried (the last two hours…

How to confirm SFTP file delivery?

I am sending a file using SFTP and public key for non-root user, looks like the file is sent, but I cant find it on the target folder, maybe due to permission. here is the -vvv : target directory How can I make sure the file is delivered, without server access ? Answer All you can do is to check