Questions tagged [sshd]

sshd is the SSH daemon which responds to incoming requests. Do not use this tag for questions about Solid-state hard drives! They should be tagged with "hybrid-storage" tag.

Filter by
Sorted by
Tagged with
0 votes
0 answers
19 views

How to set PATH on MacOs for non-login shell?

On mac os, if I do ssh localhost 'md5sum --version' the md5sum command located in /usr/local/bin is not found. This path is listed in /etc/paths but this config file is not read by the shell because ...
Fractale's user avatar
  • 589
1 vote
0 answers
23 views

SSH connection dropping immediately after authentication in Ammonite sshd

I realize this question (or similar ones) have been asked elsewhere, but the solutions haven't worked for me. I'm trying to use ammonite in a scala/java project locally and start the SSH server with ...
Jacob Bennett's user avatar
1 vote
1 answer
57 views

systemd brings up sshd before networkd, causing no ssh service

On my Ubuntu 23.04 system, systemd will attempt to bring up sshd before the network's bridge is brought up by systemd-networkd First it reports: Cannot assign requested address And then: br0: netdev ...
Bram's user avatar
  • 197
0 votes
1 answer
34 views

sshd server: match a subdomain name of a client and not just IP of that client

using openssh 9.2 for security I am using match to restrict clients who may access the ssh server Match Address 10.0.0.30 PubkeyAuthentication yes this works fine but since this client machine ...
DKebler's user avatar
  • 188
0 votes
1 answer
332 views

How do config that an SFTP user can access two root folders on different drives from OpenSSH Windows Server?

SFTP user is a service account so we cannot create 2 separate service accounts per employee. One service account is under group service 'Users' and 'Admin-Users' then it should be able to access the ...
Snowprincez Coffee's user avatar
0 votes
0 answers
66 views

SFTP account unable to log in the disconnect network drive on Windows server

We migrated the method for transferring files from any sources from FileZilla Server (Port 21) to SFTP Server (Port 22) due to security policy. FTP account with port 21 can log in to the folder ...
Snowprincez Coffee's user avatar
1 vote
1 answer
341 views

windows openssh server authentification fails with correct password

I have 2 computers, one is windows 10, the other is macos 10.15.7. I try to login my windows 10 from my mac with ssh laptop-qjn9a0b1\quebec@198.168.3.84. Again and again, it said Permission denied, ...
Tokubara's user avatar
  • 123
0 votes
2 answers
48 views

How to debug a failure to communicate (via SSH) for just the root account

I have a host (named giggles) whose root account does not accept incoming SSH connections. It has a user (kevin) account that does. Moreover the two accounts have exactly the same credentials for ...
4Dummies's user avatar
  • 173
1 vote
2 answers
459 views

How to disable RSA and ECDSA keys in openssh-server on Fedora Linux

I read that RSA and EDCSA algorithms are inferior to Ed25519 in terms of speed and space, and for my small Beowulf cluster, I'd like to just use Ed25519. However, when I try to remove, truncate, or ...
4Dummies's user avatar
  • 173
0 votes
1 answer
211 views

Cannot login through ssh from same lan

I have two CentOS7 servers on the same VLAN. I can ping the destination from the source server but cannot ssh to the destination : source # ping -c5 destination PING 172.16.15.101 (172.16.15.101) 56(...
SebMa's user avatar
  • 1,465
1 vote
1 answer
49 views

Trying to setup SSH key pair for root

Setting up SSH keys for root (technically ed25519 keys). Created the key pair on server I want to logon FROM and put the pub key onto the authorized key file of the server I want to connect TO. I can ...
Benjamin W Larson's user avatar
1 vote
1 answer
149 views

Logic operators in AllowGroups in sshd_config

Is it possible to use logical operators in AllowGroups in sshd_config? The thing I want to achieve is to permit user to access server only when it belongs to two groups. ChatGPT gave me this answer, ...
sp33dy's user avatar
  • 11
0 votes
0 answers
106 views

Why won't SSHD restart on Xubuntu?

I was making some changes to configuration to switch to Ed25519 host keys, following instructions on the web. It didn't go well, so I tried to undo all my changes to /etc/ssh/sshd_config, which ...
4Dummies's user avatar
  • 173
0 votes
0 answers
115 views

SFTP pod errors on Azure RedHat OpenShift - kex_exchange_identification: read: Connection reset by peer

When deploying SFTP on ARO cluster, and setting up Readiness Probe and networking service (load balancer), and getting tons of such messages in pod's logs: Connection reset by 10.x.x.x port xxxxx ...
RanG's user avatar
  • 1
1 vote
0 answers
107 views

OpenSSH sshd.exe does not start with KexAlgorithms parameter

Running OpenSSH Server 8.1p on Windows Server 2016 DC When I add the parameter "KexAlgorithms" in the sshd_config, the service fails to start. I want to add legacy support for key methods ...
Daryl's user avatar
  • 11
0 votes
1 answer
433 views

sshd can't disable password aunthentication

I just rented a VM from Hetzner, I created a new VM of Ubuntu 20.04.5 LTS and I put my ssh key upon its creation so I could log into the machine directly and it worked. However, when I was trying to ...
Zhenyu BAI's user avatar
0 votes
0 answers
22 views

SSH from Windows10 to Windows10 on lan, not able to use DIR command

When using OpenSSH from Win 10 to Win 10 laptops on local network - I am not able to view hidden files and folders. The Dir command behaves different between being on the local laptop and on the ...
mortenlund's user avatar
0 votes
1 answer
63 views

Using augtool, how do you add an SSH subsystem, or update a subsystem if already present?

Given an sshd_config file that contains the following config: Subsystem sftp /usr/lib/openssh/sftp-server Subsystem fooftp /usr/lib/openssh/fooftp-server Subsystem barftp /usr/lib/openssh/barftp-...
Graham Leggett's user avatar
1 vote
0 answers
106 views

Slackware 15: Google Authenticator configuration issue / Access Denied

I am trying to install Google Authenticator on Slackware 15 and I seem to be stuck. My steps were: Installed google authenticator Added in /etc/pam.d/ssh the following line at the top of the file ...
John J's user avatar
  • 11
1 vote
0 answers
484 views

ssh login failed with public key

I use publickey to do ssh login and failed. Here is my sshd config, sshd logs. sshd config: Port 1046 Protocol 2 PermitRootLogin no ChallengeResponseAuthentication no PasswordAuthentication no ...
Leslie__Joe's user avatar
2 votes
0 answers
32 views

Centos7 password based Authentication failing

Successfully joined AD server: id user@example.local Got the results so the user exists: ssh user@example.local@XXX.XX.XXX.XXX Error: debug3: send packet: type 50 debug2: we sent a password ...
raushan sharma's user avatar
2 votes
2 answers
8k views

How to SSH from MacOS terminal to Ubuntu 22.04. No matching host key type found

I'm not able to login to Ubuntu 22.04 which I newly installed from MacOS terminal. Here is the error I get while trying to SSH to ubuntu QWERTY-M-91FL:~ qwerty$ ssh mnbv@16.67.45.123 Unable to ...
mac's user avatar
  • 123
0 votes
0 answers
107 views

Remote Login not starting

I'm new to Mac and I'm trying to set up SSH through the Remote Login setting in Sharing settings on my Mac Mini running Catalina version 10.15.7. When I click the Remote Login option, it shows "...
JeffM's user avatar
  • 1
0 votes
0 answers
216 views

Turning off PermitRootLogin in sshd prevents any user to connect

I have a Debian bullseye virtual machine in OVH cloud. Allowing ssh login as root is non-secure, so I decided to turn it off in /etc/ssh/sshd_config by commenting out the line PermitRootLogin yes. ...
Dmitry K's user avatar
0 votes
1 answer
350 views

Fedora SSHd not starting after upgrade to 35

today I've upgraded a VM server mounting Fedora 25 to Fedora 35. I performed a step upgrade skipping 1 release at a time 25-->27-->...-->33-->35. I had zero problems until the last upgrade,...
Marco Colussi's user avatar
0 votes
1 answer
328 views

How can I assign an ephemeral port range to a specific linux service and not the entire IP stack

For example: If I want sshd to listen on 22 but use ephemeral ports of tcp 50-60 for communication.
user2325243's user avatar
0 votes
1 answer
1k views

SSH slow login and slow typing from Ubuntu SSH and Windows Putty clients over wireless only

I have a Raspberry Pi cluster of 3 Raspberry Pis, each running Ubuntu Server 20.04 on my home network (192.168.0.n). Each Raspberry Pi has a static IP assigned through Netplan configuration. When ...
Confounder's user avatar
0 votes
0 answers
1k views

SSH client works only when cipher is specified

When I try to connect to remote host using command ssh -vv hostname, it hangs for a while, then closes connection. I can connect though if I specify following command: ssh -c aes128-ctr hostname The ...
Boris Pitel's user avatar
0 votes
1 answer
142 views

SSH into Namecheap shared host

I'm trying to connect to my Namecheap shared host server via SSH I imported the pub/private key and authorized it like so: Let's VM IP = 11.11.11.11 When I SSH, I kept getting ➜ Desktop ssh webedcwp@...
code-8's user avatar
  • 416
0 votes
0 answers
683 views

How do you successfully setup SSH so you can connect to the same host from two different clients?

There are a lot of posts about this type of stuff but I haven't been able to find an answer that works for me... I have an SSH server setup on a Ubuntu machine at home. I was able to setup no password ...
Nick Green's user avatar
1 vote
1 answer
253 views

Azure VM disables ssh with password

I want to create an Azure VM image that allows logging in with a password via SSH. I have an Azure Ubuntu VM, which I configure to allow password SSH (updating /etc/sshd/sshd_config appropriately). I ...
zmbq's user avatar
  • 736
1 vote
0 answers
550 views

Configuring sshd on Windows 10, without having to set "StrictModes no"

I know next to nothing about Windows systems, and the person I did it for knows very little technical about it, but I managed to enable and configure sshd on it. The public key had to be put into the ...
Ray Butterworth's user avatar
1 vote
1 answer
568 views

How do I prevent orphaned `sshd` processes on the server end?

I have a number of processes on client machines that ssh to server machines and do things. Sometimes those client processes end unexpectedly for whatever reason. This always leaves an sshd process ...
drysdam's user avatar
  • 113
0 votes
1 answer
389 views

How to create tunnel from your local windows machine to remote windows server

I have a jump host at my work environment, what have access to some specific servers like san drive and few web based dashboards are only accessible from this server. Every time i have connect to ...
kartoos khan's user avatar
0 votes
1 answer
528 views

ssh: too many connections in short succession?

I'm running a backup server using rsnapshot, which uses rsync, which uses ssh to connect to the hosts from which to gather data. Usually, everything works fine. I run in to issues, however, if very ...
Patrick Bucher's user avatar
0 votes
1 answer
101 views

Debian 10 - OpenSSH-Server How to redirect user login info to a different logins file?

Debian 10 + OPENSSH-SERVER 7.9 I have a remote server that connect to my local server every minutes and in the local server's syslog, every minute I have: Oct 11 18:22:01 localhost systemd[1]: Started ...
PatriceJ's user avatar
0 votes
0 answers
86 views

How to setup two different configurations for two listenaddresses in sshd

I have the following setup: a Linux machine has two IP addresses (primary and secondary) on the same network. One receives requests NAT forwarded from outside by the router/modem, the other one ...
Jacopo De Simoi's user avatar
0 votes
1 answer
372 views

Reverse SSH tunnel failing to open local port on remote host?

I am using the following reverse SSH command to try and open up a reverse SSH tunnel on a CentOS 7 host back to a Debian 10 host. ssh -p 20000 -NR 20050:localhost:22 user@ipaddress When I try this ...
Hudson Marine's user avatar
0 votes
1 answer
2k views

When is it better to use ssh-keyscan instead of ssh to manage known_hosts?

When is executed ssh -i id_rsa_something remoteuser@192.168.1.2 appears: The authenticity of host '192.168.1.2 (192.168.1.2)' can't be established. ECDSA key fingerprint is SHA256:ABCABC [fixed/...
Manuel Jordan's user avatar
0 votes
0 answers
350 views

SSH - known_hosts file generation content behavior

When is executed ssh -i id_rsa_something remoteuser@192.168.1.2 appears: The authenticity of host '192.168.1.2 (192.168.1.2)' can't be established. ECDSA key fingerprint is SHA256:ABCABC [fixed/...
Manuel Jordan's user avatar
0 votes
0 answers
98 views

SSH connection on a redhat server

I have been struggling for the past few days trying to get an ssh connection working with a public rsa key on a redhat ftp server. I have been following guides such as this one with little luck:https:/...
HaydBooksIt's user avatar
0 votes
1 answer
874 views

SSH Using YubiKey 5 and ED25519 Algorithm

I am starting to use a YubiKey 5 to ssh into remote boxes instead of using a software key. I am generating the keys using this command: ssh-keygen -t ed25519-sk This works when I ssh into Ubuntu, but ...
Dan Largo's user avatar
  • 103
1 vote
2 answers
744 views

Windows OpenSSH sshd: can't get passwordless authentication to work

I am trying to configure OpenSSH as an ssh server (sshd) on Microsoft Windows 10, as described here: https://docs.microsoft.com/en-us/windows-server/administration/openssh/openssh_keymanagement The ...
JeffV's user avatar
  • 11
1 vote
0 answers
1k views

Problems trying to keep SSH session alive "forever"

I know there are many questions/articles about this topic. But... I tried a bunch of them and nothing seems to make my SSH connection alive "forever". I'm currently working from MacOs BigSur ...
DGF's user avatar
  • 111
0 votes
0 answers
303 views

sshd startup problems on debian

I try to start up the ssh daemon on my kali linux (virtualbox) but I get this error when I enter "sudo service ssh start": Job for ssh.service failed because the control process exited with ...
HYP3R_F0CUS's user avatar
1 vote
1 answer
553 views

Cygwin SSHD causes 100% CPU load

I run cygwin 32-bit on Windows 10 Pro b19042 [Cygwin is 3.2.0-1], with OpenSSH [8.5p1-1], using sshd to access the machine from afar, and notice (often multiple) processes of sshd.exe with 100% CPU ...
cxxl's user avatar
  • 233
1 vote
1 answer
1k views

ssh works when sshd ran from command line, but not as a service

As the title says, when I run sshd from the command line (C:\Windows\OpenSSH\sshd.exe) my passwordless login to localhost works flawlessly, but if I run it as a service (double checked the path and it'...
Blindy's user avatar
  • 111
1 vote
1 answer
2k views

Automatically run commands after SSH login to Windows server

Is there a way to run commands automatically when user logs in with SSH to Windows Server? I tried to implement this using the AutoRun in Command Processor registry, which runs commands when any cmd....
user11281949's user avatar
0 votes
1 answer
383 views

Failed to Load ECDSA P521 Host Key on Windows SSH Server

I am trying to generate an ecdsa p521 host key on my Windows 10 SSH Server as my client only supports ecdsa 521 key. Thus, I have used the following steps but I failed to load the p521 host key from ...
Tang Jiye's user avatar
0 votes
0 answers
32 views

System not terminating SSH session when my ISP disconnects

I have two ISP connections. The primary connection has got some disconnection issues these days. When the primary ISP does not respond, I switch to the backup internet connection and it supposed to ...
vjwilson's user avatar
  • 103

1
2 3 4 5
8