Skip to main content

All Questions

Tagged with
0 votes
0 answers
33 views

Motd ssh server with ascii image with 24 bit color (truecolor)

I cannot visualise an ascii art image in 24 bit colors when I log into my server via ssh. I have created a dynamic motd for my ssh server. Specifically in the file /etc/update-motd.d/10-logo there is ...
devnull's user avatar
0 votes
0 answers
18 views

Degraded status in Crostini container after Developer config and SSH config

systemctl status shows a Degraded state after following Chromeos Development Docs associated with and tweaking the ssh and sshd_config. I've got info about my Build&Machine specs and setup sharing&...
Aaron Sullivan's user avatar
0 votes
0 answers
23 views

Connections not kept alive with ServerAliveInterval passed from SSH

After openssh 9.2, it is recommended to use ChannelTimeout and UnusedConnectionTimeout that provide granular idle session/connection timeout and behaviour of ClientAliveCountMax=0 parameter was ...
Chirag Chandnani's user avatar
0 votes
1 answer
40 views

How to configure the system so that users in a specific user group can execute programs requiring the cap_sys_admin capability?

My primary goal is to allow users in a specific group to execute programs requiring the cap_sys_admin capability (e.g., perf) after SSH-ing into Ubuntu 22.04. A simple solution is modifying ...
lei hu's user avatar
  • 103
1 vote
1 answer
90 views

How to configure Debian sudo to prompt for password at the beginning of every login session?

I am running Debian 12 and working on hardening my system. I'm looking at the sudo behavior at the moment. As expected, if I ssh into the system and run a sudo command, it prompts the first time, but ...
BobDoolittle's user avatar
  • 1,649
0 votes
2 answers
36 views

rewrite linux image on device via ethernet

I have embedded device with Linux (stored in EMMC). When i need to update Linux image (i have one .img file) i need to connect via serial terminal, edit boot_targets to start system from SD-card and ...
TeachmeDaddy's user avatar
0 votes
2 answers
55 views

Forward port 2222 to docker but not forward 22

My setup is Linux host with SSH and SFTP access. It runs inside a docker container exposing also SSH and SFTP. The docker container does not have a separate network. Uses “host” network setting. I ...
NN_'s user avatar
  • 101
0 votes
0 answers
42 views

Linux lock user after failed login attempts

Unable to get RH9 to lock out user for period of time after 3 failed SSH login attempts. I've modified /etc/ssh/ssh_config by enabling UsePAM yes and adding the following content to the following ...
user3133040's user avatar
0 votes
1 answer
61 views

Ssh remote connection and not lose prompt

I am making an ssh connection to a remote server and I want to keep my prompt after the connection, but connected to the server, is this possible? In detail, when connecting to the oracle server, run ...
Fernando David Monjes Bovet's user avatar
0 votes
1 answer
91 views

Allow login over SSH, but not local password login

I'd like to allow a user to log in over SSH using a public key, but not allow this user to log in from the local console with a password. Is there any way to do this? A workaround is setting an ...
Mikhail Ramendik's user avatar
0 votes
1 answer
46 views

keyless ssh via an intermediary computer

There are three systems: my local PC, computer A and computer B. In order to log in to B from my local PC I have to run: ssh -XJ user@computerA user@computerB I have keyless ssh set up from my local ...
Simd's user avatar
  • 371
0 votes
2 answers
108 views

Is my Linux inside virtual box being hacked or is it my base system; windows which is compromised?

There's a Oracle Linux running inside a Virtual Box, which is running on Windows 11 home. Need help understanding: Is there any chance of any of either the linux or , as this clearly appears to be a ...
Layman's user avatar
  • 11
0 votes
1 answer
49 views

Is there an easy way to kill all other ssh session by me(user) on the server, but keep the current ssh session through command line?

For example, if I ssh to the server at multiple office computer, how can I conveniently kill those ssh at home when I ssh to the server machine?
Lucar's user avatar
  • 1
0 votes
0 answers
43 views

how to ban a ssh user to run only a specific program [duplicate]

there is a a computer (homeserver) in the lan (24/4 on) with speakers connected. the linux system can play music with the programm "mocp" (music on console). i would like to give other users ...
user447274's user avatar
-4 votes
1 answer
76 views

How to get to /home when I am in /Users

I am new to using Linux so I am not sure how to fix this problem. When I would use the pwd command it would show /Users/(my name). However, I need to get to the home directory and can't figure out a ...
Sophia Turcios's user avatar

15 30 50 per page
1
2 3 4 5
72