Questions tagged [ssh]
SSH (Secure SHell) is a protocol for securely running commands on a remote computer. Use this tag for questions about configuring, using and trouble-shooting SSH client and server software.
8,187 questions
0votes
0answers
35views
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 ...
0votes
1answer
19views
How to connect and browse files of remote server via Midnight Commander's Shell link (copy files over SSH) if the private key requires password?
There are endless number of helpful articles and answers on how set up ~/.ssh/config (e.g., this one's pretty good), but none of them mentions what to do if the private key is also password protected.
2votes
1answer
186views
Using Here-Document as password Input for ssh
First, I do know this is a security risk. I do know about ssh keys and sshpass. This belongs to a fun project. I wondered if a bash Here-Document could be used as a password input for ssh. I ...
1vote
2answers
61views
SSH: How to verify the passphrase of a key but without doing an attempt of ssh connection?
About SSH I know the following command works: ssh -i id_rsa <username>@<ip> Of course: The remote server must be running The passphrase of the id_rsa key is requested and if it is valid ...
0votes
0answers
36views
Cannot SSH to a machine over OpenVPN
I have the following setup: Machine 1 -> Home router -> Internet -> Mobile hotspot -> Machine 2 Machine is running an OpenVPN server on UDP port 1194 and SSH on port 2022. I want to SSH ...
1vote
1answer
53views
SSH freezes on login after server banner
Trying to login to my local server with user1, the shell freezes after the login banner: Linux server 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 The programs included ...
0votes
1answer
39views
Using mktemp over SSH
I want to create a temp folder on a remote machine using mktemp, then move some files on the remote machine to that directory. I tried the following: ssh "$target" "mv $HOME/scripts/* $(...
1vote
1answer
42views
Repeated "from agent: agent refused operation", even after having added private key
I am trying to unlock the gnome keyring on my server machine so that I can push git commits via ssh to github. The ssh key for this is encrypted. What I tried is this: # See https://unix.stackexchange....
2votes
1answer
53views
Unable to SSH into user with high work load
I have a small server that is just running the latest LTS Ubuntu. I use it to run some code that is a bit heavy. The last few times I've noticed that if a job takes a lot of resources (but not the max,...
3votes
1answer
75views
How can I reverse forward git ssh when my config requires a Yubikey
I frequently need to log into a VM that has no direct access to the internet or our source code repo. In the past I have circumvented this with a reverse port forward over ssh but now my problem is ...
0votes
0answers
18views
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&...
3votes
1answer
107views
How to generate an SSH key on macOS Secure Enclave?
All M-series macs have a Secure Enclave. When I generate an SSH key, by default, it encrypts with a secret key written in the terminal: ssh-keygen -t ed25519 -C "[email protected]" Is ...
0votes
0answers
36views
SSH login with Google Authenticator in Docker container - one time passwords aren't accepted
I'm currently trying to create a docker container that acts as an ssh server. The login should be handled by the Google Authenticator (GA) PAM module, which implements time bases one time password ...
0votes
1answer
37views
SElinux Blocking SSH from SystemD Service
Background I am setting up an rsync backup over SSH service via SystemD. This is ultimately failing to run due to local SElinux; minimum reproducible example: [Unit] Description=Rsync backup service ...
0votes
0answers
35views
SSH_USE_STRONG_RNG value clarification
A security guideline makes this statement The most important characteristic of a random number generator is its randomness, namely its ability to deliver random numbers that are impossible to predict....