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
0
votes
0 answers

RHEL - SSH login with root but no password

I am struggling hard with enabling root ssh login with key authentication, after hours I discovered that I cannot login using key when starting sshd with command service sshd start but when I start /usr/sbin/sshd either alone or with default config…
0
votes
2 answers

Why SSH connection to docker container is not working?

So i have this Dockerfile: FROM debian:squeeze MAINTAINER Name < email : > # Update the repository sources list RUN apt-get update # Install apache, PHP, and supplimentary programs. curl and lynx-cur are for debugging the container. RUN…
Robert
  • 5
  • 4
0
votes
1 answer

Subsystem on sshd_config

In /etc/sshd/sshd_config , I could see Subsystem sftp /usr/libexec/openssh/sftp-server This specifies the subsystem and its location. How and when will the subsystem be started? Thanks Venkat
venkat
  • 1
  • 3
0
votes
1 answer

Docker doesn't start MONGODB, and IPAddress doesn't appear, when started with other services

I have already asked this question on serverfault.com. I am asking it here too as I see different set of questions in these 2 sites (it appears like they have different databases). I have been trying to build an OS image from Fedora unsuccessfully…
ashFAQue
  • 3
  • 1
  • 2
0
votes
1 answer

How do I write a bash script to regnerate ssh keys on a cluster?

I have a cluster of centos servers and I want to regenerate the ssh host keys. There are a lot of them so I don't want to do: ssh root@servername "ssh-keygen -q -f /etc/ssh/ssh_host_key -N '' -t rsa" for each server because it would take a long…
Johnny 3653925
  • 349
  • 1
  • 3
  • 10
0
votes
1 answer

Jsch sftp channel state impact by previous channel state of the same session?

In my code I am trying to keep the Jsch session active cause I expect many interactions with the server will happen. And the logic is: One thread will open channel on the session to check if a file exists Another thread try to open channel on the…
Gelin Luo
  • 14,035
  • 27
  • 86
  • 139
0
votes
4 answers

Change the default port(22) SSh [CENTOS]

I am trying to change d default port (22) for my system, I edited the sshd_config file by changing to my desirable port no (5555) and restarted my service but it seem not to work . is there something else i have to change? thanks
user3219928
  • 11
  • 1
  • 2
  • 4
0
votes
1 answer

File structure relative to sshd jail root

I'm setting up an sshd jail for some users on my system (archlinux). Without going into great detail I'd like to keep the scope of the question minimal. Setting /etc/ssh/sshd_config: Match group jaileduser ChrootDirectory…
0
votes
1 answer

Get incoming ssh forwarded connection port number

I have a server who is forwarding connections to a set of other servers. Here I forward all incomming connections on: my.tunnel.com:33199 to my.server2.com:52222 And.. my.tunnel.com:33200 to my.server3.com:52222 .. until my.tunnel.com:XXXXX to…
ScotchAndSoda
  • 3,811
  • 4
  • 34
  • 38
0
votes
1 answer

I need to print the process ID number next to the process name?

Right now what I'm doing is redirecting the output of pgrep sshd to a file, and what I'm being asked to do is print out the process name next to the process ID number. How exactly do I find the process ID number and the process name, if it isn't…
0
votes
1 answer

Jenkins SSHD connection

Having trouble finding information on using Jenkins SSHD, there's a RSA key (publickey?) supplied by the X-Instance-Identity header when browsing the top page. Trouble is, it's not clear how to use this. I've tried the obvious, and added it to…
ocodo
  • 29,401
  • 18
  • 105
  • 117
0
votes
1 answer

Unix : DenyUsers command NOT working on SSH

I would like to block some users from ssh login. I logged in as root and used Vi editor for making changes in sshd_config. Command is : " vi /etc/ssh/sshd_config " I added " #DenyUsers user1 " to the sshd_config and then restarted…
alian
  • 47
  • 6
0
votes
1 answer

SFTP connection refused

So yesterday I wanted to developed directly into my /var/www folder and made a few steps according to some sites. I first added my user to www-data group and changed ownership to /var/www. Right now everything is set like 755 :www-data.…
LouieV
  • 1,032
  • 2
  • 15
  • 28
0
votes
1 answer

Optionally printing the last login time using SSHD

I'm trying to control access to Linux and Solaris servers, and have a requirement that some users should see a last login time message (e.g. Last login: Thu Jun 27 09:42:20 2013) and some shouldn't. Is it possible to instruct sshd to print the last…
Tim Bellis
  • 1,607
  • 3
  • 14
  • 24
0
votes
2 answers

Sending SSH shell commands with Apache SSHD

I am trying to send commands to an SSH shell using the Apache SSHD library. I have read the JavaDoc; but it is so sparse that I am having trouble understanding how to use the library. I'm sorry I can't link to JavaDoc, but it doesn't seem to be…
Vance T
  • 513
  • 2
  • 5
  • 15