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
5
votes
2 answers

nc (netcat) on Mac OS X 10.8.4 gets stuck

I encountered a little issue while using the nc utility on Mac OS X, a utility i often use as a quick and dirty solution to check if a port is open and what version the daemon is running. We deployed a new set of computers the other day and i wanted…
5
votes
2 answers

install sshd using cygwin

I want to use cygwin to install sshd in windows. But when I start the sshd service, it says: The CYGWIN sshd service is starting. The CYGWIN sshd service could not be started. The service did not report an error. More help is available by typing NET…
user1703055
  • 149
  • 2
  • 9
5
votes
2 answers

How to install sshd on Mac?

I am trying to use Hadoop on my Mac, but it requires Java and ssh, so I need to install them. I have already done the ssh part with the help of Homebrew, but after I download sshd, I don't know how to install it. How can I do this?
user1662744
  • 91
  • 1
  • 1
  • 2
4
votes
1 answer

Fork "free" sshd?

Is there a way to run sshd such that it can (at least for a limited number of log-ins) successfully return a prompt (likely busybox) even while fork is unavailable (e.g. out of PIDs)? It seems to me this should be possible by, for example, the sshd…
BCS
  • 75,627
  • 68
  • 187
  • 294
4
votes
1 answer

RSA key is not allowed

I can't configure SSH key-authentication on my new VDS server. After I've done ssh-copy-id I still get password prompt for user. To debug I added LogLevel DEBUG3 in /etc/ssh/sshd_config and restarted systemctl restart sshd and saw in logs…
zored
  • 2,718
  • 3
  • 19
  • 23
4
votes
1 answer

Windows 10 OpenSSH authorized keys error with sshd

after a lot of support from reading the great posts here my first question: I try to set up ssh with keys between a Mac and Windows 10 (20H2). What I did until now: generated keys on Mac, tested pub key with auto log onto raspberry, all…
ManuBIG
  • 43
  • 5
4
votes
0 answers

Getting `ssh client_loop: send disconnect: Broken pipe` on ipv6

I started getting ssh client_loop: send disconnect: Broken pipe on ipv6 after some inactivity time on ssh after my ISP switched to ipv6. While on ipv4, I could ssh to any server and the connection would keep alive with the default configs. I tried…
Thales Ceolin
  • 2,594
  • 1
  • 21
  • 15
4
votes
3 answers

sshd_config automatically changes rules after reboot

On different machines on AWS/EC2, I keep having sshd rules being changed after rebooting machines Original rule: Match Group sftpusers ChrootDirectory /data/sftp/%u ForceCommand internal-sftp PasswordAuthentication…
Breathe
  • 714
  • 5
  • 21
4
votes
2 answers

sshd_config all parameters commented out

I've inherited administration of a server (and I am not really an admin) and unfortunately there are a ton of things I've never been exposed to. All of the parameters in the sshd_config are commented out. ssh is working fine however. Does this mean…
user5095972
4
votes
2 answers

Raspberry pi 3, ssh connection closed by remote ip port 22

I saw many posts having same problem but without answer or real solution. I have raspberry pi 3 and I installed latest version of rasbian. I have neither monitor nor keyboard, so I would like to setup my raspberry through SSH. It's been 3 days I'm…
Niroda
  • 320
  • 1
  • 3
  • 13
4
votes
1 answer

ssh closes connection immediately after login

I was trying to set up hadoop in pseudo distributed mode in fedora 20. I generated the required public keys and copied to authorized_keys. Now ssh localhost logs in without the password but it immediately closes connection. [*****@localhost ssh]$…
rockfight
  • 1,916
  • 2
  • 20
  • 31
4
votes
1 answer

Setting ssh public keys on Docker image

I setup a Docker image that supports ssh. No problem, lots of examples. However, most examples show setting a password using passwd. I want to distribute my image. Having a fixed password, especially to root, seems like a gaping security hole.…
EricGreg
  • 1,098
  • 1
  • 10
  • 18
3
votes
1 answer

How to create a "Nested ssh tunnel"?

I connect to a linux server over 2 other server: MyPC --(ssh)--> serverA --(ssh)--> serverB --(ssh)--> FinalServer httpd is running on FinalServer, listen on 80 serverA/serverB only accept port 22, sshd service Is there any way to access…
Wendal Chen
  • 258
  • 3
  • 11
3
votes
2 answers

algorithmic password on sshd

ok, i got this in my mind and curious if its possible. On linux systems, is there any way to generate a valid algorithmic password combination to login SSH, that we can generate valid password with a little application or device (like o some banks'…
cia
  • 87
  • 1
  • 5
3
votes
3 answers

Docker container not exiting when disconnected from a login shell

I have a docker container running on the server side as a user's login shell so that anyone can ssh into the server and get access to some resource inside. Say, I have a user called test and I want people to be able to SSH into test's account using…
Mia
  • 2,466
  • 22
  • 38