Skip to main content

Questions tagged [openssh]

Questions about the OpenSSH implementation of the ssh protocol.

3 votes
0 answers
57 views

Why does ssh match host localnetwork fail with unsupported address family 17?

openssh has introduced a feature to apply configuration if a host is in a defined network: Match Host zem localnetwork 192.168.178.0/24 Hostname zem Host zem HostName zem User me ...
Markus Grunwald's user avatar
2 votes
1 answer
64 views

(OpenSSH) Logging with a DEBUG level violates the privacy of users and is not recommended

Background In the man page for OpenSSH server configuration (man sshd_config), there is a line under LogLevel that says: Logging with a DEBUG level violates the privacy of users and is not ...
Eamon Burns's user avatar
1 vote
1 answer
122 views

How to have backspace working on SSH connection console?

When opening an SSH console on an already established connection (e.g. LF ~ C), I get ^H instead of backspace regardless of terminal and setup (that I've tried). It is really bad as any mistake ...
gcb's user avatar
  • 943
0 votes
1 answer
156 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 ...
Jovan Tatic's user avatar
1 vote
2 answers
616 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, ...
Konzertheld's user avatar
0 votes
2 answers
52 views

When authenticating using keys, can OpenSSH handle LDAP policies (locked and idle users) also?

Most of the users are from an OpenDAP server, and users log in via SSH. Some users use a key to log in, some use a password. I have set up a password policy for LDAP, so users may become locked in ...
U. Windl's user avatar
  • 1,771
0 votes
1 answer
140 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 ...
asker152's user avatar
  • 119
0 votes
0 answers
77 views

Connect to docker container through host via ssh without RemoteCommand

I have a server that runs multiple docker containers. I can access my server via SSH, and have set up my ssh_config to allow me to ssh into certain containers that I regularly access: Host ...
Gunnar Knutson's user avatar
2 votes
1 answer
97 views

SSH multiplexing + control master when network connection changes

I have a computer server and a laptop guest, both running Ubuntu. I set SSH multiplexing and control master in the laptop's .ssh/config like the following: Host servername User username Port 22 ...
hannah's user avatar
  • 21
0 votes
1 answer
66 views

How to redirected output from disowned process to a file

A borgmatic backup command that runs for many hours: long_running_cmd &> file.txt I did Strg+Z then bg then disown to keep the command running I case my laptop goes to sleep or disconnects. I ...
Destro's user avatar
  • 15
0 votes
1 answer
115 views

Trying to login to sftp fails

I'm trying to setup a sftp server using openssh builtin sftp. Subsystem sftp /usr/lib/openssh/sftp-server and I have created user by following (more or less (using ansible), I do use /sbin/...
user1887384's user avatar
1 vote
1 answer
202 views

Problems with systemd-logind & d-bus on a busy SFTP server

We recently upgraded a high volume CentOS 7 SFTP server running openssh/internal-sftp to Rocky Linux 8. However, since the upgrade we are experiencing login timeout issues after the server has been ...
drjeep's user avatar
  • 125
1 vote
1 answer
86 views

PAM maxlogins limit not working

Since upgrading from CentOS 7 to Rocky Linux 8 our PAM maxlogins limit is no longer being enforced for SFTP sessions. SFTP users belong to the sftp group and we have this in /etc/security/limits.d/10-...
drjeep's user avatar
  • 125
0 votes
0 answers
45 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
2 votes
1 answer
177 views

Redirect multiple Bash code files to SSH with Escaping (same SSH session)

Need to redirect 3 bash code files (possibly more in the future) to SSH, escaping them (within the same SSH session) to execute them on remote host. Perfectly fine to list bash code files manually. ...
strider's user avatar
  • 101

15 30 50 per page
1
2 3 4 5
56