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,212 questions
0
votes
1
answer
32
views
"error in libcrypto" for ssh-add with git-bash (mingw32) on Windows 11
I have a problem with SSH key usage for GIT on windows.
It works fine from windows GUI git clients.
From the terminal - git-bash / mingw32 - it fails with
$ git pull
git@<gitserver redacted>: ...
1
vote
2
answers
89
views
Use numbered file descriptors with SSH
I need to pipe data through SSH to a command that reads stdin. The command needs to run with sudo so I need to be able enter the sudo password, too. Without ssh, I'd use numbered file descriptors like ...
3
votes
2
answers
609
views
How do I set ssh to automatically utilize a key in ~/.ssh/id_rsa for a particular host?
I set up an SSH key using GNOME's Seahorse, also known as Passwords and Secrets. The application appears to have saved the private key to ~/.ssh/id_rsa.
I have copied the public key to the server ...
0
votes
1
answer
120
views
How do I set my SSH password/key for Pika Backup?
I made an account with rsync.net for backups but am having issues setting them up with the GNOME Project's Pika Backup.
I set the location as: ssh://<username>@<username>.rsync.net/~/...
5
votes
1
answer
259
views
Error 44 trying to rsync over ssh on Synology DSM
This is a bit long winded but I want to give as much information as I can. I have a Synology NAS running DSM 7.2.2:
steve@NAS:/volume1/docker/backuppc-mdns$ cat /proc/sys/kernel/syno_hw_version
DS223j
...
0
votes
1
answer
148
views
SSH connection over from LAN to WireGuard VPN Peer drops after ~1 minute despite keepalive settings
I have a device connected to my home network that wants to SSH via WireGuard VPN Peer. The VPN subnet is 10.0.0.x/24.
The issue is:
I can successfully connect to the device via SSH.
The SSH session ...
1
vote
2
answers
613
views
Why is ssh-agent ignoring the lifetime in .ssh/config?
I can't get ssh-agent to work like I want to. It keeps removing the saved identities on reboot.
I use AddKeysToAgent in my .ssh/config like this:
AddKeysToAgent 30w
That's the top of the file, ...
1
vote
1
answer
98
views
Invalid characters in ssh sessions
I'm opening an SSH session from Fedora to Raspberry Pi OS. Accented and special characters are replaced with question marks. Preferably I would like to learn to solve this without changing the server'...
3
votes
1
answer
193
views
ssh client automatically reject unknown host key
Is there a way to do this? My web search didn't find one. I'm familiar with StrictHostKeyChecking but there doesn't appear to be an "automatically reject" option. I'm wanting to move to ...
0
votes
0
answers
70
views
Slow SSH tunnel data transfer when combining two SSH connections
I have a server called publicserver on the public internet, and a second server (called privateserver) behind a NAT firewall. I also have a client PC (client, running Linux) behind another NAT ...
4
votes
1
answer
459
views
Upgraded Debian Bookworm to Trixie, ssh login now hanging for 10 seconds
As the title says. Upgraded Bookworm > Trixie, and now ssh is hanging 10 seconds at login, via home local network, when it never used to.
2025-08-17T16:07:29.828339+10:00 debian sshd-session[4260]: ...
2
votes
1
answer
332
views
How to upgrade Debian Bookworm OpenSSH package(s) to be able to upgrade to Trixie via SSH without the risk of interruption?
When reading up issues to be aware of for Trixie, specifically interrupted remote upgrades (SSH), caught my eye.
I have one server I wanted to upgrade, to which I do have physical access, so this ...
1
vote
1
answer
83
views
Why can't download directory recursively with scp from remote Win10 to linux?
In my home local area network,Win10 is 192.168.28.242,debian is 192.168.28.252.SSH Server is installed on Win10 ,SSH service is on.I can connect Win10 from debian.
debian@MiWiFi-R4A-srv:~$ ssh hello@...
2
votes
1
answer
74
views
SSH from Windows into Linux using Pubkey, getting Permission Denied (publickey)
I am working on getting headless Raspberry Pi running Ubuntu Server 25.04. I haven't done this in a while and... passwords are no longer a thing, which is frustrating, but understandable.
I have ...
0
votes
1
answer
134
views
sshd service doesn’t start when booting Arch Linux
I installed OpenSSH, but the SSH server sshd doesn't start automatically on boot.
I can start sshd manually without any issues.
sudo /usr/bin/sshd
Starts;
[john2@archlinux2 work]$ sudo systemctl ...