Skip to main content

All Questions

Tagged with
0 votes
0 answers
18 views

Permission denied when executing an rsync command using a third server to copy a file over to another server

I'm trying to copy files over from one server to another using a bastion server with rsync, so I have the list of origin servers and a list of target servers, the strange part is that when I use the ...
VaTo's user avatar
  • 3,181
0 votes
2 answers
36 views

How do I get linux flavors, like Fedora, RHEL, Amazon Linux, and others that don't update motd on login to do so?

I am trying to get my Amazon Linux 2023 server to update the MOTD on login, not on a timer or by fiddling with the profile. I want a clean experience for users whether they re-exec their shell, or ...
four43's user avatar
  • 111
0 votes
1 answer
43 views

Passwordless Authentication for Ansible

I have installed ansible and created new users for controller and remote hosts. Have set up the below steps, but getting error, can anyone suggest ?? Entered user using visudo, for both controller ...
Piyush Nikhade's user avatar
0 votes
0 answers
63 views

local proxy port forward error with SSH: SSS_SSH_knownhostsProxy: connection refused

I am using redhat enterprise edition 8.9 where I am trying to connect to remote server via local proxy method: When I run the command in the shell: ssh 127.0.0.1 -p 35856 I get the below error: ...
Anisha goyal's user avatar
0 votes
2 answers
160 views

Ssh Permission denied on EC2 Linux server (publickey)

Please I created 2 Ubuntu Linux EC2 instances(master and slave) when I tried to ssh from the master server to the slave I get the error Permission denied (publickey). Server Details ubuntu@ip-172-31-...
Godwin's user avatar
  • 1
0 votes
1 answer
49 views

ssh prompts for password when providing non-default key

I have a question about ssh public key authentication. I have generated on a RHEL 9 machine a key pair - protected by a password- as follows: ssh-keygen -f .ssh/key2 Then, I have copied the pub key ...
Francesco Marchioni's user avatar
1 vote
1 answer
49 views

ssh-jailed access restrict all groups, but allow one group

Requirement ssh-jailed access restrict all groups, but allow one group. login to VM-GP324911 for users in GP324911, deny others. login to VM-GP9e68e for users in GP9e68ea, deny others. login to VM-...
Indranil's user avatar
0 votes
0 answers
136 views

Environment variables are not getting loaded when script is executed on a remote server via SSH (RHEL 8)

I have a vendor script (startup.sh) to start application services on a Linux box. Script when called manually by logging into the server (as sudo su - userID) initiates all the environment variables. ...
Akshay's user avatar
  • 15
1 vote
0 answers
176 views

selinux user_u staff_u .bash_profile permission denied on ssh login

A security rule states RHEL must prevent non-privileged users from executing privileged functions, including disabling, circumventing, or altering implemented security safeguards/countermeasures. All ...
ron's user avatar
  • 7,264
0 votes
1 answer
193 views

Use x11 with a windows client and a linux server

I've been trying to use X11 with my local server for quite a while, but i'm unable to with the built in windows ssh client. Does someone has a way to fix it ? I've tried a lot of tutorials to fix it ...
Moréo's user avatar
  • 1
0 votes
1 answer
159 views

SSH login and sudo are broken after running 'sudo cat sudoers', what could've happened?

I'm new to Linux and I have an RHEL VM that I am able to SSH into. I am SSH'ing from a Windows terminal. I wanted to check the sudoers file. I was able to login as normal, I then cd'd into etc, and ...
davidib17's user avatar
1 vote
2 answers
262 views

How to tell when sshd is ready for connections?

I use a bash script to reboot a remote server, then login via SSH to run some commands. My script works most of the time, but occasionally fails with this error: "System is booting up. ...
Elliott B's user avatar
  • 565
0 votes
1 answer
2k views

In RHEL 9, SSH root login is not permitted. How do I set up managed nodes with Ansible? [closed]

I recently passed the RHCSA exam (RHEL 9). And I have started studying for RHCE EX294 with non-Red Hat affiliated materials. All of them are based on RHEL 8. In RHEL 8, the default sshd configurartion ...
Nameadd's user avatar
  • 41
1 vote
1 answer
27 views

How can I give a user that can not log into a RHEL server the ability to start / stop applications or reboot server?

We are building a secure platform so that only a few people have rights to ssh into the servers, but I still need the ability for support personnel to be able to start or stop applications and if ...
Robert's user avatar
  • 11
0 votes
0 answers
387 views

SSH/Cron services hangs on RHEL 8.6

So, i have an odd issue with my VM RHEL 8.6 test server with Hyper-V. The problem is the SSH Service hangs from time to time, around midnight. To connect again to the server i have to Reboot it ...
xnanitox's user avatar
  • 101

15 30 50 per page
1
2 3 4 5
8