Questions tagged [sshd]

The Secure Shell (SSH) daemon. It is the server side process to which SSH clients can connect and invoke commands and services. Note that system administration questions are off-topic on this site.

SSHD is an acronym for Secure Shell Daemon, the OpenSSH SSH server. It is the server side process to which SSH clients can connect and invoke commands and services.

Use instead if your question is not specifically about the daemon, but (also) about the client or the protocol.

Note that system administration is off-topic on Stack Overflow. If your question is not a programming question, ask on Unix & Linux (if running under Linux or other unix system), Super User (if you aren't a professional system administrator) or Server Fault (if you are a professional system administrator).

Useful Links:

The acronym is occasionally used to refer to Solid State Hard Drives, more commonly abbreviated .

392 questions
-1
votes
2 answers

Change KexAlgorithms on OpenSSH

I would like to disable 'diffie-hellman-group1-sha1' and 'diffie-hellman-group-exchange-sha1' key exchange algorithms on my OpenSSH. I edited /etc/ssh/sshd_config and added this line: KexAlgorithms…
V1har
  • 7
  • 1
  • 3
-1
votes
1 answer

AWS EC2 Instance: SSH connection being dropped permanently after consistent timeout

I am having trouble connecting to any instances I have created with SSH. I cannot even Ping these instances (with ICMP enabled). If I stop the instance and start it again, I can connect with SSH for approximately 60 seconds,then I get error: …
Chinmay Joshi
  • 56
  • 1
  • 6
-1
votes
1 answer

SSHD Crashing after glibc upgrade

Hi, I made a yum update on 18th of july: After that sshd is crashing on startup, Any help?
-1
votes
1 answer

SSH No Route to Host

I apologize for the novice question, but have been struggling on this for many hours. I am running Ubuntu Server on Ubuntu 16.04. I can ssh fine into local host (thus know ssh server is running) However, when I try to log into my server externally,…
Avi Thaker
  • 455
  • 3
  • 10
-1
votes
1 answer

What is the difference b/w sshd_config and sshd command?

I changed my sshd_config file to set strictmodes to no and then restarted the sshd service. However, I am getting two different outputs as shown below. root@localhost httpd]# service sshd stop Stopping sshd: …
-1
votes
1 answer

Google Compute instance accidently chmod 0755 / folder

I accidently chmodded the / 0755 folder, i can´t access on SSH, Filezilla, SFTP, or via Google CLoud command to my instance, i would like to know what to do on this situation. Thanks !
-1
votes
1 answer

"UseDNS no" is conflict with "Match User xxx"?

Last night I added UseDNS no to my sshd_config, after I restarted ssh via sudo service ssh restart, I found sshd not started and there is no process listened on port 22, but after I deleted UseDNS no, it will work as before. I have compared with…
dawncold
  • 183
  • 1
  • 1
  • 12
-1
votes
1 answer

umask for internal-sftp in Docker container

I have a rather simple sftp Docker container in which I have the following /etc/ssh/sshd_config, inspired by so many different sources on the Internet – no claims that it's perfect, but hey, it kind of works. Port 22 Protocol 2 HostKey…
Morpheu5
  • 2,610
  • 6
  • 39
  • 72
-1
votes
1 answer

SSH service broken after sshd_config was modified

I modified the sshd_config but the ssh service became unavailable. How do I reset the config? Here is the log: Jul 29 14:10:03 bye sshd[578]: /etc/ssh/sshd_config line 6: Badly formatted port number. Jul 29 14:10:03 bye systemd[1]: ssh.service: main…
-1
votes
1 answer

ssh windows 7 connection refuser

trying to connect from localhost ssh @localhost - connected trying to connect from another computer in my local network ssh @ - connected trying to connect from internet ssh @
frau_muller
  • 23
  • 1
  • 5
-2
votes
1 answer

SSH login not working on centos due to bad sshd configuration

I was trying to configure SFTP on Centos server. I edited /etc/ssh/sshd_config file and restarted service. There was an error on Chroot line. After a while connection broke with server and from then, no one is ever able to login to server.…
imacoder
  • 166
  • 1
  • 11
-2
votes
1 answer

Unix command to add user to AllowUsers list for SSH access?

I understand that to allow a web user access to SSH, I have to open up /etc/ssh/sshd_config and manually add each username to the list and restart sshd. I built a small custom bash script to create users, do other setup, etc. Is there a command to…
peppy
  • 173
  • 2
  • 17
-2
votes
1 answer

.ssh keys not matching.

I'm having trouble with the following: I can't ssh passwordlessly between servers, even as root. All .ssh folders and files are set to 700. The key's seem to match, but it bombs out on me, and I've no idea why. [root@server1 .ssh]# ssh -v -x…
Ben Coughlan
  • 555
  • 3
  • 12
  • 23
-2
votes
1 answer

Is it necessary to disable root login and password login in sshd_config when no password set?

According to Why is root login via SSH so bad that everyone advises to disable it?, to avoid brute force password cracking, we disable root and password login (by setting PermitRootLogin & PasswordAuthentication to no in /etc/ssh/sshd_config). But…
Leo
  • 1,710
  • 2
  • 26
  • 29
-2
votes
1 answer

Delete SSH key without SSH access

My sshd is refusing to restart because of the following error: @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ However, i cant figure out how to delete the unsafe ssh keys without having the ssh access. What to do?
user2806026
  • 787
  • 3
  • 10
  • 24
1 2 3
26
27