Questions tagged [sshd]

sshd - OpenSSH SSH daemon

sshd (SSH Daemon) is the daemon program for ssh. Together these programs replace rlogin and rsh, and provide secure encrypted communications between two untrusted hosts over an insecure network.

237 questions
35
votes
9 answers

How do I disable SSHD from starting automatically?

After installing openssh-server, the server start every time I boot. If I want it to be manual what do I need to do? In version 0.6.7+ of upstart I would add a "manual" stanza to the job file. 10.04 has upstart 0.6.5-8. What is the preferred way to…
komputes
  • 3,233
6
votes
1 answer

Machine partly crashes when a network interface is unbound from DPDK

I'm using an Ubuntu 14.04.4 server, running sshd OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.8, OpenSSL 1.0.1f 6 Jan 2014. The server is also running Intel's DPDK framework, to develop network software; part of doing that involves bringing down interfaces at…
6
votes
1 answer

12.04 sshd_config file is empty, but my ssh_config is not empty

Please know I am no sysadmin. Yesterday I re-installed UBUNTU 12.04 LTS - running 3.2.0-33-generic-pae. I have worked for hours trying to install vsftpd to no avail, and now find myself trying to configure sftp via the sshd, if that makes…
David
  • 61
  • 1
  • 2
5
votes
1 answer

How do I check that a configuration file has been read?

It seems that modifications to my /etc/ssh/sshd_config file are not picked up by the SSH daemon. For test purposes, I included a DenyUsers *, did service ssh restart, and even rebooted the whole system. But I still can ssh from remote. How can I…
3
votes
2 answers

ssh hangs for ~15 seconds before connecting

If I directly connect to Server A, using public key auth from my computer, it takes <0.5 s. But if run the same ssh command from Server B (to connect to Server A) it freezes for about 15 s at the following line : (complete log) debug2: ssh_connect:…
Nemo
  • 9,460
2
votes
1 answer

what is u_dgr UNCONN when I run ss -lnp | grep sshd

I was running ss -lnp | grep sshd and received the following output (in addition to the LISTEN port(s) I was expecting. Not sure what this is tho: u_dgr UNCONN 0 0 *78056 *12438 users:(("sshd",pid=22409, fd=4), ("sshd",pid=22337,fd=4) Thanks…
jb61264
  • 481
2
votes
2 answers

sshd keeps spawning child processes

axfelix@shoebox:~$ ps aux | grep sshd root 1182 0.0 0.0 65612 6620 ? Ss Apr28 0:02 /usr/sbin/sshd -D root 1857 1.0 0.0 107080 7052 ? Ss 11:23 0:00 sshd: root [priv] sshd 1858 0.0 0.0 66956 3228 ? …
serilain
  • 508
2
votes
2 answers

Ubuntu Server installation on SSHD

Is it a good procedure to install Ubuntu Server 14.10 on an SSHD (8 GB SSD + 2 TB HDD)? Or perhaps it is better to install the OS on an SSD and mount an HDD for data storage?
1
vote
1 answer

ssh.service: Unit entered failed state

sshd starts, runs and works fine, but only once. If I try to log in on a second ssh terminal session I get rejected: ssh: connect to host dmz port 22: Network is unreachable And/or when I log out of ssh, the service dies: Jun 25 10:47:16 dmz…
Gordon
  • 603
1
vote
0 answers

SSH - failed to release session

I have found the next line in the log on one of Ubuntu 18.04 server: sshd[22190]: pam_systemd(sshd:session): Failed to release session: Interrupted system call I can't find more description/solution to this. Any idea how to check what this means?
JanezKranjski
  • 831
  • 7
  • 18
  • 36
0
votes
1 answer

installation of sshd in Ubuntu 14.04

I am trying to install sshd on my Ubuntu system but I am unable to do so. I tried below things. sudo apt-get install openssh but I received below error. When I am checking with which command for ssh, I am getting result for ssh but not for…
Zohaib
  • 3
  • 1
  • 2
0
votes
1 answer

connect using SSH to a remote server from client running ubuntu 22.04

I am trying to connect to a remote server using SSH from client running ubuntu 22.04 Server is a cloud instance of OVH ISP, running ubuntu 23.04. In OVH doc, it is mentioned: "You can only store RSA and ECDSA encrypted keys; ED25519 is currently not…
M. Page
  • 123
0
votes
0 answers

Failed to start OpenBSD Secure Shell on Reboot

During reboot: ● sshd.service - OpenBSD Secure Shell server Loaded: loaded (/etc/systemd/system/sshd.service; disabled; vendor preset: en Active: failed (Result: exit-code) since Thu 2020-10-01 21:19:13 UTC; 23s ago Process: 1411…
Dave
  • 1
  • 1
0
votes
1 answer

How to exclude someone when PubkeyAuthentication no in sshd_config

I want to set PubkeyAuthentication no in /etc/ssh/sshd_config, but someone should be excluded, i.e: John
stack
  • 103