Skip to main content

All Questions

Tagged with
0 votes
0 answers
10 views

Abaqus CAE Fails to Launch via RDP/VNC on CentOS but Works with SSH and Physical Login

I'm experiencing an issue with launching Abaqus CAE or Abaqus viewer on a CentOS system when accessing it remotely via RDP or VNC. The software loads without problems when I log in physically or use ...
0 votes
2 answers
2k views

Unable to SSH to LXC Ubuntu container

I'm trying to connect from a CentOS host to my LXC Ubuntu container and it fails with this error: packet_write_wait: Connection to 192.168.122.92 port 22: Broken pipe The CentOS I'm using is: ...
1 vote
2 answers
3k views

How can I enable SSH login for this brand new user created on CentOS 7 machine?

I am not a sysadmin (I am s software developer) and I am finding the following difficulty working on a Linux CentOS 7 remote machine of a customer. I am using MobaxTerm to connect to this machine. ...
1 vote
0 answers
124 views

SCP silently ignored on the remote machine

When I'm trying to copy a file using scp (in whatever direction), there's no error displayed (although the returned $? code is 1), all I can see is the message that normally the REMOTE machine prints ...
46 votes
7 answers
138k views

How to automatically run commands on SSH login?

Whenever I login to my Linux server I'd like to have several commands run automatically (set some variables, change location, etc.) This needs to be done on user login, not on system start. How can ...
3 votes
2 answers
8k views

Fast way to check disk usage in linux?

I want to find out the disk usage of /home however it's too slow, I get timeout sometimes (SSH) because it has lots of files. I am using du -sh /home and I was wondering if there's a faster way?
33 votes
5 answers
140k views

Where to find SSH Login log files on centos

I have shared a .pem file with few a developers and now something went wrong on the server. I would like to track logins in a log so that I can see who (IP) made changes and when (if even possible) ...
1 vote
1 answer
404 views

Why I get refused when connect my remote host with domain name using ssh?

I added two A DNS records on my domain name whose HOSTNAME is @ and www, I'm wondering why I get refused when use davidzhu.xyz $ ssh [email protected] ssh: connect to host davidzhu.xyz port 22: ...
0 votes
1 answer
1k views

Enable ssh in emergency mode for centos 9

I'm trying make a backup system for my Centos Stream 9 headless server by installing a cloned system disk on a newer machine. No surprise, the newer machine booted into emergency mode (hardware ...
1 vote
0 answers
676 views

Limit maximum ssh connections per user does not work when shell is /sbin/nologin

I'm having a Centos 7 server and when I limit the maximum connections per user using the config file /etc/security/limits.conf it works just fine. See below an example of my configuration in that file:...
36 votes
6 answers
80k views

To use ssh-id-copy do you need both id_rsa.pub and id_rsa?

I am trying to setup a second access ssh key for a friend. He sent me his id_rsa.pub. ssh-copy-id -i id_rsa.pub [email protected] /usr/local/bin/ssh-copy-id: ERROR: failed to open ID file './...
0 votes
1 answer
95 views

ssh_config auto restored after some time

I need to connect to git using an ed25519 SSH key, but the /etc/ssh/ssh_config only has the entries below for IdentityFile, so I receive error Permission denied (publickey) when accessing the git repo:...
0 votes
0 answers
223 views

Issue with add Multiple user account and SSH key using Bash script

As per our requirement we provided our devloper group: devs:r-x to /var/log/httpd directory. What is the best way to create a user account (in my case Dev User) in a Group using bash scrip, with the ...
0 votes
1 answer
445 views

Is it possible to grand SSH access (using username and password) to a Centos 7 machine configured with an user using private key to connect?

first of all I am not a system engineer (I am mainly a software developer). I am working on a Centos 7 machine and I have the following doubt. Using MobaxTerm client I can access to this machine via ...
0 votes
1 answer
42 views

SSH clients (putty, GCP web) often displays remnants of previous command [duplicate]

I saw it in different SSH clients but can at least guarantee Putty and GCP web-console (SSH in a web browser) have this. When you scroll your history and then run a previous command - sometime (more ...

15 30 50 per page
1
2 3 4 5
8