All Questions
111
questions
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 ...
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 ...
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:...
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 ...
1
vote
1
answer
908
views
Launch GUI application on remote host (Linux CentOS 8) via SSH
I'm having some questions trying to run an GUI app remotely from SSH. My Linux skills are limited and I'm having some issues trying to achieve it through the following scenario:
I have a host with ...
0
votes
0
answers
280
views
Create an SSH user who has permission to access root directory but limited commands
I want to constrain the user to only have permissions for specific commands in Centos but he need to access root directory.
I want to prevent user from removing, restart, shut down
But he should be ...
0
votes
1
answer
662
views
ssh gives 'Permission Denied' on valid username/password credentials (ssh set to accept password log in)
I have a strange issue on a CentOS 7 machine.
If I login from the console, as two different usernames, I'm able to log in.
However, when I try that same username/password combinations, I get ...
0
votes
0
answers
95
views
ssh a CentOS machine installed in VMWare in different machine
I have installed a Centos7 in VMWare WorkStation in my wife's laptop and we can use putty to login in to the machine and access it from my wife's laptop.
I am trying to access the CentOs7 from putty ...
2
votes
1
answer
436
views
Create new SSH user and give him permission to an existing directory
Im trying to create new user called svecias and give him permission to connect via SFTP only to existing directory and deeper (/usr/share/nginx/itsupply).
Currently directory is owned by nginx in ...
0
votes
0
answers
727
views
How can I stop firewalld from interrupting an existing outgoing ssh exec session when it is started or restarted?
I have a java program running on a Centos7 server that continuously "tails" a file on another Centos7 server using the JSch library to run an ssh exec process to run a shell script on the ...